mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-28 14:45:59 +00:00
Cleanup
This commit is contained in:
1 parent
0a4c8424b0
commit
f46a63109c
5 files changed
+35
-35
No files matched your search
@@ -24,7 +24,6 @@ public class QuestKill extends QuestInterface implements IQuestKill {
|
||||
@Override
|
||||
public void writeEntityToNBT(NBTTagCompound compound) {
|
||||
compound.setTag("QuestKills", NBTTags.nbtStringIntegerMap(targets));
|
||||
//compound.setTag("QuestDialogs", NBTTags.nbtStringIntegerMap(targets));
|
||||
compound.setInteger("TargetType",targetType);
|
||||
compound.setString("CustomTargetType",customTargetType);
|
||||
}
|
||||
@@ -38,9 +37,7 @@ public class QuestKill extends QuestInterface implements IQuestKill {
|
||||
} else {
|
||||
targets = NBTTags.getStringIntegerMap(compound.getTagList("QuestKills", 10));
|
||||
}
|
||||
|
||||
//targets = NBTTags.getStringIntegerMap(compound.getTagList("QuestDialogs", 10));
|
||||
targetType = compound.getInteger("TargetType");
|
||||
targetType = compound.getInteger("TargetType");
|
||||
customTargetType = compound.getString("CustomTargetType");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user