Update to Minecraft 1.13-pre7

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2018-07-15 10:00:00 +10:00
parent debc7172fd
commit 767e4f6ccf
199 changed files with 8301 additions and 3637 deletions

View File

@@ -1,9 +1,9 @@
package org.bukkit.event.player;
import org.bukkit.entity.Fish;
import org.bukkit.entity.Player;
import org.bukkit.event.Cancellable;
import org.bukkit.entity.Entity;
import org.bukkit.entity.FishHook;
import org.bukkit.event.HandlerList;
/**
@@ -15,9 +15,9 @@ public class PlayerFishEvent extends PlayerEvent implements Cancellable {
private boolean cancel = false;
private int exp;
private final State state;
private final Fish hookEntity;
private final FishHook hookEntity;
public PlayerFishEvent(final Player player, final Entity entity, final Fish hookEntity, final State state) {
public PlayerFishEvent(final Player player, final Entity entity, final FishHook hookEntity, final State state) {
super(player);
this.entity = entity;
this.hookEntity = hookEntity;
@@ -40,9 +40,9 @@ public class PlayerFishEvent extends PlayerEvent implements Cancellable {
/**
* Gets the fishing hook.
*
* @return Fish the entity representing the fishing hook/bobber.
* @return the entity representing the fishing hook/bobber.
*/
public Fish getHook() {
public FishHook getHook() {
return hookEntity;
}

View File

@@ -10,8 +10,8 @@ import org.bukkit.event.HandlerList;
/**
* Called when a player statistic is incremented.
* <p>
* This event is not called for {@link org.bukkit.Statistic#PLAY_ONE_TICK} or
* movement based statistics.
* This event is not called for some high frequency statistics, e.g. movement
* based statistics.
*
*/
public class PlayerStatisticIncrementEvent extends PlayerEvent implements Cancellable {