Code cleanup

This commit is contained in:
Unknown 2019-04-11 12:24:53 +02:00 committed by unknown
parent a978bdc634
commit c2669e7fd7
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@ public abstract class BlockAbstractAir extends BlockAbstractBase {
@SuppressWarnings("deprecation")
@Override
public boolean isFullBlock(IBlockState blockState) {
public boolean isFullBlock(final IBlockState blockState) {
return true;
}

View file

@ -127,7 +127,7 @@ public class ClientProxy extends CommonProxy {
ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(item.getRegistryName(), "inventory"));
} else {
NonNullList<ItemStack> listItemStacks = NonNullList.create();
final NonNullList<ItemStack> listItemStacks = NonNullList.create();
assert item.getCreativeTab() != null;
item.getSubItems(item.getCreativeTab(), listItemStacks);
for (final ItemStack itemStack : listItemStacks) {