This commit is contained in:
Izzel_Aliz
2018-05-09 13:04:58 +08:00
parent 3f4940c6b7
commit 2b14457309
72 changed files with 1249 additions and 1318 deletions

View File

@@ -38,14 +38,14 @@ public class CustomBookOpenEvent extends Event implements Cancellable {
return hand;
}
public ItemStack getBook() {
return book;
}
public void setHand(Hand hand) {
this.hand = hand;
}
public ItemStack getBook() {
return book;
}
public void setBook(ItemStack book) {
this.book = book;
}

View File

@@ -16,6 +16,10 @@ public class PlayerJumpEvent extends Event implements Cancellable {
this.player = player;
}
public static HandlerList getHandlerList() {
return handlers;
}
public Player getPlayer() {
return this.player;
}
@@ -34,8 +38,4 @@ public class PlayerJumpEvent extends Event implements Cancellable {
public HandlerList getHandlers() {
return handlers;
}
public static HandlerList getHandlerList() {
return handlers;
}
}

View File

@@ -14,6 +14,10 @@ public class PlayerLoadedEvent extends Event {
this.player = player;
}
public static HandlerList getHandlerList() {
return handlers;
}
public Player getPlayer() {
return this.player;
}
@@ -22,8 +26,4 @@ public class PlayerLoadedEvent extends Event {
public HandlerList getHandlers() {
return handlers;
}
public static HandlerList getHandlerList() {
return handlers;
}
}