mirror of
https://github.com/GTNewHorizons/Gadomancy.git
synced 2026-11-28 15:36:17 +00:00
Fix mirrored jar labels not saving (#35)
This commit is contained in:
1 file changed
+2
@@ -23,6 +23,7 @@ import makeo.gadomancy.common.blocks.tiles.TileRemoteJar;
|
||||
import makeo.gadomancy.common.registration.RegisteredBlocks;
|
||||
import makeo.gadomancy.common.utils.NBTHelper;
|
||||
import makeo.gadomancy.common.utils.StringHelper;
|
||||
import thaumcraft.api.aspects.Aspect;
|
||||
import thaumcraft.api.aspects.AspectList;
|
||||
import thaumcraft.common.blocks.ItemJarFilled;
|
||||
import thaumcraft.common.config.ConfigItems;
|
||||
@@ -129,6 +130,7 @@ public class ItemBlockRemoteJar extends ItemBlock {
|
||||
|
||||
if (!world.isRemote) {
|
||||
tile.networkId = NBTHelper.getUUID(stack.getTagCompound(), "networkId");
|
||||
tile.aspectFilter = Aspect.getAspect(stack.getTagCompound().getString("AspectFilter"));
|
||||
tile.markForUpdate();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user