diff options
author | Travis Watkins <amaranth@ubuntu.com> | 2012-06-21 23:36:10 -0500 |
---|---|---|
committer | feildmaster <admin@feildmaster.com> | 2012-06-23 10:47:38 -0500 |
commit | 78acee359e4d26059e76b96c65fc84f1fb2fe868 (patch) | |
tree | 0aed3d2a907d4af2131cf015016c6ac32abc0bbc /src/main/java/net/minecraft/server/BlockRedstoneWire.java | |
parent | ea4d3662be7b6241ade2a620fb60a7817be006df (diff) | |
download | craftbukkit-78acee359e4d26059e76b96c65fc84f1fb2fe868.tar craftbukkit-78acee359e4d26059e76b96c65fc84f1fb2fe868.tar.gz craftbukkit-78acee359e4d26059e76b96c65fc84f1fb2fe868.tar.lz craftbukkit-78acee359e4d26059e76b96c65fc84f1fb2fe868.tar.xz craftbukkit-78acee359e4d26059e76b96c65fc84f1fb2fe868.zip |
Use LinkedHashSet to make redstone update order consistent. Fixes BUKKIT-1850
Diffstat (limited to 'src/main/java/net/minecraft/server/BlockRedstoneWire.java')
-rw-r--r-- | src/main/java/net/minecraft/server/BlockRedstoneWire.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/BlockRedstoneWire.java b/src/main/java/net/minecraft/server/BlockRedstoneWire.java index 5c38f780..e36b7a23 100644 --- a/src/main/java/net/minecraft/server/BlockRedstoneWire.java +++ b/src/main/java/net/minecraft/server/BlockRedstoneWire.java @@ -10,7 +10,7 @@ import org.bukkit.event.block.BlockRedstoneEvent; // CraftBukkit public class BlockRedstoneWire extends Block { private boolean a = true; - private Set b = new HashSet(); + private Set b = new java.util.LinkedHashSet(); // CraftBukkit - HashSet -> LinkedHashSet public BlockRedstoneWire(int i, int j) { super(i, j, Material.ORIENTABLE); |