mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-10-25 20:22:23 +00:00
Use null for the Item to render to not leak the world
This commit is contained in:
1 parent
2470e81f0e
commit
287c4498d2
1 file changed
+1
-1
@@ -114,7 +114,7 @@ public class ObeliskSpecialRenderer<T extends TileEntity> extends TileEntitySpec
|
||||
|
||||
protected void renderItemStack(T te, World world, double x, double y, double z, float tick) {
|
||||
if (ei == null) {
|
||||
ei = new EntityItem(world, 0, 0, 0, getFloatingItem(te));
|
||||
ei = new EntityItem(null, 0, 0, 0, getFloatingItem(te));
|
||||
}
|
||||
|
||||
ei.setEntityItemStack(getFloatingItem(te));
|
||||
|
||||
Reference in new issue
Block a user