spotlessApply

This commit is contained in:
GitHub GTNH Actions committed 2022-12-05 16:40:38 +00:00
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;