summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordurron597 <martin.jared@gmail.com>2010-12-31 09:07:39 -0500
committerdurron597 <martin.jared@gmail.com>2010-12-31 09:07:39 -0500
commita8b7a63a8e342a0165f43d550ef8cf870fc6e41d (patch)
treedc3bb27d63097b8649144e21b761c4918e68c754
parent0520b39adf54332a50765e6b52cc761f4327a573 (diff)
downloadbukkit-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.java2
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