diff --git a/src/main/java/noppes/npcs/blocks/tiles/TileScripted.java b/src/main/java/noppes/npcs/blocks/tiles/TileScripted.java index 649675cce..b2d3bf8b4 100644 --- a/src/main/java/noppes/npcs/blocks/tiles/TileScripted.java +++ b/src/main/java/noppes/npcs/blocks/tiles/TileScripted.java @@ -133,14 +133,18 @@ public class TileScripted extends TileEntity implements IScriptBlockHandler { if(scaleZ <= 0) scaleZ = 1; - if(compound.hasKey("Text3")) { + if(compound.hasKey("Text1")) text1.setNBT(compound.getCompoundTag("Text1")); + if(compound.hasKey("Text2")) text2.setNBT(compound.getCompoundTag("Text2")); + if(compound.hasKey("Text3")) text3.setNBT(compound.getCompoundTag("Text3")); + if(compound.hasKey("Text4")) text4.setNBT(compound.getCompoundTag("Text4")); + if(compound.hasKey("Text5")) text5.setNBT(compound.getCompoundTag("Text5")); + if(compound.hasKey("Text6")) text6.setNBT(compound.getCompoundTag("Text6")); - } } @Override