Code cleanup
This commit is contained in:
parent
a978bdc634
commit
c2669e7fd7
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue