mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-03 21:44:40 +01:00
Use LinkedHashSet to make redstone update order consistent. Fixes BUKKIT-1850
This commit is contained in:
parent
ea4d3662be
commit
78acee359e
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ import org.bukkit.event.block.BlockRedstoneEvent; // CraftBukkit
|
||||||
public class BlockRedstoneWire extends Block {
|
public class BlockRedstoneWire extends Block {
|
||||||
|
|
||||||
private boolean a = true;
|
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) {
|
public BlockRedstoneWire(int i, int j) {
|
||||||
super(i, j, Material.ORIENTABLE);
|
super(i, j, Material.ORIENTABLE);
|
||||||
|
|
Loading…
Reference in a new issue