From 60f92a857210646a54f6f419ba797ca7e03f853a Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sun, 5 Feb 2012 01:56:06 -0500 Subject: [PATCH] setCancelled should probably not be hard-coded to true or it could put fernferrets in danger of self-implosion. By: EvilSeph --- .../java/org/bukkit/event/entity/EntityCreatePortalEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-api/src/main/java/org/bukkit/event/entity/EntityCreatePortalEvent.java b/paper-api/src/main/java/org/bukkit/event/entity/EntityCreatePortalEvent.java index 91cebc8b43..beaf0c6c85 100644 --- a/paper-api/src/main/java/org/bukkit/event/entity/EntityCreatePortalEvent.java +++ b/paper-api/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; } /**