mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
Don't render null items
This commit is contained in:
1 parent
ff0df97f08
commit
478052bbd3
1 file changed
+3
@@ -52,6 +52,9 @@ public class FlexibleToolRenderer implements IItemRenderer {
|
||||
|
||||
@Override
|
||||
public void renderItem (ItemRenderType type, ItemStack item, Object... data) {
|
||||
if(item == null)
|
||||
return;
|
||||
|
||||
Entity ent = null;
|
||||
if (data.length > 1)
|
||||
ent = (Entity) data[1];
|
||||
|
||||
Reference in new issue
Block a user