Fix formatting to use spaces instead

This commit is contained in:
ljfa-ag 2015-04-10 11:49:00 +02:00
parent 833858d064
commit 74930a9445

View file

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