From f16a7ff890bf7f4b83899c6ba3a5ece1507ecc70 Mon Sep 17 00:00:00 2001 From: Lex Manos Date: Mon, 23 Feb 2015 01:44:54 -0800 Subject: [PATCH] Fix JukeBoxes not storing the inserted record. All TE's in minecraft are in net.minecraft.tileentity EXCEPT JukeBoxes. Closes #1633 Closes #1714 --- .../minecraft/net/minecraft/tileentity/TileEntity.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/tileentity/TileEntity.java.patch b/patches/minecraft/net/minecraft/tileentity/TileEntity.java.patch index 5c5ef47687..745bd8cec6 100644 --- a/patches/minecraft/net/minecraft/tileentity/TileEntity.java.patch +++ b/patches/minecraft/net/minecraft/tileentity/TileEntity.java.patch @@ -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.