refactor for inventories, allowing for null types.
This commit is contained in:
1 parent
2d92a82ed0
commit
79cb4a20d8
3 files changed
+89
-75
No files matched your search
+2
-2
@@ -9,7 +9,7 @@ import net.minecraft.item.ItemStack;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
public class LivingInventory implements Inventory
|
||||
public class EquipmentInventory implements Inventory
|
||||
{
|
||||
private static final List<EquipmentSlot> slotToSlot = Arrays.asList(
|
||||
EquipmentSlot.MAINHAND,
|
||||
@@ -18,7 +18,7 @@ public class LivingInventory implements Inventory
|
||||
);
|
||||
|
||||
LivingEntity mob;
|
||||
public LivingInventory(LivingEntity mob)
|
||||
public EquipmentInventory(LivingEntity mob)
|
||||
{
|
||||
this.mob = mob;
|
||||
}
|
||||
Reference in new issue
Block a user