mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 07:39:41 +00:00
Merge branch 'patch' into dev
# Conflicts: # src/main/java/noppes/npcs/client/fx/CustomFX.java
This commit is contained in:
commit
b191ede19c
3 files changed
+13
-8
No files matched your search
@@ -439,7 +439,7 @@ public class ScriptCustomItem extends ScriptItemStack implements IItemCustom, IS
|
||||
|
||||
public void loadItemData() {
|
||||
NBTTagCompound c = this.item.getTagCompound();
|
||||
if (c != null){
|
||||
if (c != null && !c.getCompoundTag("ItemData").hasNoTags()){
|
||||
this.setItemNBT(c.getCompoundTag("ItemData"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user