[SPIGOT-2789] CraftShulkerBox TileEntity return null Created: 18/Nov/16 Updated: 18/Nov/16 Resolved: 18/Nov/16 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Benjamin Heusser | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Craftbukkit, bug, entity | ||
| Description |
|
All CraftBlockStates override the method to return the TileEntity. Like in CraftChest: @Override public TileEntityChest getTileEntity() { return chest; } or CraftBanner @Override public TileEntityBanner getTileEntity() { return banner; } This Code is missing in CraftShulkerBox, which is why it returns null atm. |