Fix formatting to use spaces instead
This commit is contained in:
parent
833858d064
commit
74930a9445
1 changed files with 116 additions and 114 deletions
|
@ -10,6 +10,7 @@ import net.minecraftforge.common.util.Constants;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base class for tile entities with inventory
|
* Base class for tile entities with inventory
|
||||||
|
*
|
||||||
* @author ljfa-ag
|
* @author ljfa-ag
|
||||||
*/
|
*/
|
||||||
public abstract class TEInventory extends TileEntity implements IInventory
|
public abstract class TEInventory extends TileEntity implements IInventory
|
||||||
|
@ -135,7 +136,8 @@ public abstract class TEInventory extends TileEntity implements IInventory
|
||||||
public void readFromNBT(NBTTagCompound tag)
|
public void readFromNBT(NBTTagCompound tag)
|
||||||
{
|
{
|
||||||
super.readFromNBT(tag);
|
super.readFromNBT(tag);
|
||||||
NBTTagList invList = tag.getTagList("Inventory", Constants.NBT.TAG_COMPOUND);
|
NBTTagList invList = tag.getTagList("Inventory",
|
||||||
|
Constants.NBT.TAG_COMPOUND);
|
||||||
for (int i = 0; i < invList.tagCount(); i++)
|
for (int i = 0; i < invList.tagCount(); i++)
|
||||||
{
|
{
|
||||||
NBTTagCompound stackTag = invList.getCompoundTagAt(i);
|
NBTTagCompound stackTag = invList.getCompoundTagAt(i);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue