mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +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
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ public class EntityCreatePortalEvent extends EntityEvent implements Cancellable
|
|||
}
|
||||
|
||||
public void setCancelled(boolean cancel) {
|
||||
this.cancelled = true;
|
||||
this.cancelled = cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue