Sonar Core

Sonar Core

46M Downloads

TileEntityInventory#getDisplayName throws an NPE

Aaron1011 opened this issue ยท 0 comments

commented

In TileEntityInventory#getDisplayname, this.blockType is not checked before it's used. This results in the method throwing an NPE when called before this.blockType is initialized from TileEntity#getBlockType.