SleepyTrousers/EnderIO#2768 Fix playerSlotLocations having random order

This commit is contained in:
tterrag1098 committed 2015-09-03 15:46:04 -04:00
1 parent 36cc92449b
commit a51268cb6c
1 file changed
+3 -2
@@ -1,7 +1,6 @@
package com.enderio.core.common;
import java.awt.Point;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Nullable;
@@ -13,9 +12,11 @@ import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
import com.google.common.collect.Maps;
public class ContainerEnder<T extends IInventory> extends Container {
protected Map<Slot, Point> playerSlotLocations = new HashMap<Slot, Point>();
protected Map<Slot, Point> playerSlotLocations = Maps.newLinkedHashMap();
protected final int startPlayerSlot;
protected final int endPlayerSlot;