Skip to content

Commit

Permalink
Fix JukeBoxes not storing the inserted record. All TE's in minecraft …
Browse files Browse the repository at this point in the history
…are in net.minecraft.tileentity EXCEPT JukeBoxes. Closes MinecraftForge#1633 Closes MinecraftForge#1714
  • Loading branch information
LexManos committed Feb 23, 2015
1 parent 938b752 commit f16a7ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f16a7ff

Please sign in to comment.