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

This commit is contained in:
Travis Watkins 2012-06-21 23:36:10 -05:00 committed by feildmaster
parent ea4d3662be
commit 78acee359e

View file

@ -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);