diff options
author | EvilSeph <evilseph@gmail.com> | 2012-02-05 01:56:06 -0500 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-02-05 02:01:11 -0500 |
commit | 2c37ce13670c8685cd3c271404bfa42f02812a6d (patch) | |
tree | d5d19791a18d45b8613b2ed42875ac295fb8bd22 /src/main/java | |
parent | ef1c779ff565f42abf93f33f1bbb48b55bb1d042 (diff) | |
download | bukkit-2c37ce13670c8685cd3c271404bfa42f02812a6d.tar bukkit-2c37ce13670c8685cd3c271404bfa42f02812a6d.tar.gz bukkit-2c37ce13670c8685cd3c271404bfa42f02812a6d.tar.lz bukkit-2c37ce13670c8685cd3c271404bfa42f02812a6d.tar.xz bukkit-2c37ce13670c8685cd3c271404bfa42f02812a6d.zip |
setCancelled should probably not be hard-coded to true or it could put
fernferrets in danger of self-implosion.
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; } /** |