diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/event/entity/EntityCreatePortalEvent.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/event/entity/EntityCreatePortalEvent.java b/src/main/java/org/bukkit/event/entity/EntityCreatePortalEvent.java index 91cebc8b..beaf0c6c 100644 --- a/src/main/java/org/bukkit/event/entity/EntityCreatePortalEvent.java +++ b/src/main/java/org/bukkit/event/entity/EntityCreatePortalEvent.java @@ -38,7 +38,7 @@ public class EntityCreatePortalEvent extends EntityEvent implements Cancellable } public void setCancelled(boolean cancel) { - this.cancelled = true; + this.cancelled = cancel; } /** |