Use LinkedHashSet to make redstone update order consistent. Fixes BUKKIT-1850

This commit is contained in:
Travis Watkins authored and feildmaster committed 2012-06-23 10:47:38 -05:00
1 parent ea4d3662be
commit 78acee359e
1 file changed
+1 -1
@@ -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);