From 78acee359e4d26059e76b96c65fc84f1fb2fe868 Mon Sep 17 00:00:00 2001 From: Travis Watkins Date: Thu, 21 Jun 2012 23:36:10 -0500 Subject: [PATCH] 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(-) diff --git a/src/main/java/net/minecraft/server/BlockRedstoneWire.java b/src/main/java/net/minecraft/server/BlockRedstoneWire.java index 5c38f7806f..e36b7a2321 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);