mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-14 19:42:20 +01:00
setCancelled should probably not be hard-coded to true or it could put
fernferrets in danger of self-implosion. By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
parent
552bb7f085
commit
60f92a8572
@ -38,7 +38,7 @@ public class EntityCreatePortalEvent extends EntityEvent implements Cancellable
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setCancelled(boolean cancel) {
|
public void setCancelled(boolean cancel) {
|
||||||
this.cancelled = true;
|
this.cancelled = cancel;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user