geforkt von Mirrors/Paper
Remove some handlers
Dieser Commit ist enthalten in:
Ursprung
e0f49c8788
Commit
e49e4020ac
@ -89,8 +89,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
* Stores data for pigs being zapped
|
* Stores data for pigs being zapped
|
||||||
*/
|
*/
|
||||||
-public class PigZapEvent extends EntityEvent implements Cancellable {
|
-public class PigZapEvent extends EntityEvent implements Cancellable {
|
||||||
|
- private static final HandlerList handlers = new HandlerList();
|
||||||
+public class PigZapEvent extends EntityZapEvent implements Cancellable {
|
+public class PigZapEvent extends EntityZapEvent implements Cancellable {
|
||||||
private static final HandlerList handlers = new HandlerList();
|
+ //private static final HandlerList handlers = new HandlerList();
|
||||||
private boolean canceled;
|
private boolean canceled;
|
||||||
private final PigZombie pigzombie;
|
private final PigZombie pigzombie;
|
||||||
private final LightningStrike bolt;
|
private final LightningStrike bolt;
|
||||||
@ -101,4 +102,20 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
this.bolt = bolt;
|
this.bolt = bolt;
|
||||||
this.pigzombie = pigzombie;
|
this.pigzombie = pigzombie;
|
||||||
}
|
}
|
||||||
|
@@ -0,0 +0,0 @@ public class PigZapEvent extends EntityEvent implements Cancellable {
|
||||||
|
return pigzombie;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ // Paper start
|
||||||
|
+ /*
|
||||||
|
@Override
|
||||||
|
public HandlerList getHandlers() {
|
||||||
|
return handlers;
|
||||||
|
@@ -0,0 +0,0 @@ public class PigZapEvent extends EntityEvent implements Cancellable {
|
||||||
|
public static HandlerList getHandlerList() {
|
||||||
|
return handlers;
|
||||||
|
}
|
||||||
|
+ */
|
||||||
|
+ // Paper end
|
||||||
|
}
|
||||||
--
|
--
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren