From 78acee359e4d26059e76b96c65fc84f1fb2fe868 Mon Sep 17 00:00:00 2001 From: Travis Watkins Date: Thu, 21 Jun 2012 23:36:10 -0500 Subject: Use LinkedHashSet to make redstone update order consistent. Fixes BUKKIT-1850 --- src/main/java/net/minecraft/server/BlockRedstoneWire.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/net') 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); -- cgit v1.2.3