mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-16 18:44:42 +00:00
spotlessApply
This commit is contained in:
1 parent
66e51a1ba8
commit
c2e91139b2
5 files changed
+22
-23
No files matched your search
@@ -385,10 +385,9 @@ public class FCBasePartContainer extends FCBaseMonitorContain
|
||||
private NBTBase createItemTag(final ItemStack i) {
|
||||
final NBTTagCompound c = new NBTTagCompound();
|
||||
|
||||
if( i != null )
|
||||
{
|
||||
i.writeToNBT( c );
|
||||
c.setInteger( "Count", i.stackSize );
|
||||
if (i != null) {
|
||||
i.writeToNBT(c);
|
||||
c.setInteger("Count", i.stackSize);
|
||||
}
|
||||
|
||||
return c;
|
||||
|
||||
@@ -355,10 +355,9 @@ public class FCBasePartContainerEx extends FCBaseMonitorContain
|
||||
private NBTBase createItemTag(final ItemStack i) {
|
||||
final NBTTagCompound c = new NBTTagCompound();
|
||||
|
||||
if( i != null )
|
||||
{
|
||||
i.writeToNBT( c );
|
||||
c.setInteger( "Count", i.stackSize );
|
||||
if (i != null) {
|
||||
i.writeToNBT(c);
|
||||
c.setInteger("Count", i.stackSize);
|
||||
}
|
||||
|
||||
return c;
|
||||
|
||||
Reference in new issue
Block a user