diff options
author | durron597 <martin.jared@gmail.com> | 2010-12-31 09:07:39 -0500 |
---|---|---|
committer | durron597 <martin.jared@gmail.com> | 2010-12-31 09:07:39 -0500 |
commit | a8b7a63a8e342a0165f43d550ef8cf870fc6e41d (patch) | |
tree | dc3bb27d63097b8649144e21b761c4918e68c754 | |
parent | 0520b39adf54332a50765e6b52cc761f4327a573 (diff) | |
download | bukkit-a8b7a63a8e342a0165f43d550ef8cf870fc6e41d.tar bukkit-a8b7a63a8e342a0165f43d550ef8cf870fc6e41d.tar.gz bukkit-a8b7a63a8e342a0165f43d550ef8cf870fc6e41d.tar.lz bukkit-a8b7a63a8e342a0165f43d550ef8cf870fc6e41d.tar.xz bukkit-a8b7a63a8e342a0165f43d550ef8cf870fc6e41d.zip |
Fixed bug with BlockFlow.equals
Added second constructor for collections
-rw-r--r-- | src/org/bukkit/event/block/BlockFlowEvent.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/bukkit/event/block/BlockFlowEvent.java b/src/org/bukkit/event/block/BlockFlowEvent.java index c2af4c4b..a91cedfd 100644 --- a/src/org/bukkit/event/block/BlockFlowEvent.java +++ b/src/org/bukkit/event/block/BlockFlowEvent.java @@ -74,7 +74,7 @@ public class BlockFlowEvent extends BlockEvent { } public boolean equals(BlockFlow flow) { - return flow.flowDirection.equals(flow); + return flowDirection.equals(flow.flowDirection); } @Override |