Fix JukeBoxes not storing the inserted record. All TE's in minecraft are in net.minecraft.tileentity EXCEPT JukeBoxes. Closes #1633 Closes #1714

This commit is contained in:
Lex Manos 2015-02-23 01:44:54 -08:00
parent 938b752036
commit f16a7ff890

View file

@ -26,7 +26,7 @@
+ {
+ }
+
+ private boolean isVanilla = getClass().getName().startsWith("net.minecraft.tileentity");
+ private boolean isVanilla = getClass().getName().startsWith("net.minecraft.");
+ /**
+ * Called from Chunk.setBlockIDWithMetadata, determines if this tile entity should be re-created when the ID, or Metadata changes.
+ * Use with caution as this will leave straggler TileEntities, or create conflicts with other TileEntities if not used properly.