Untitled
public text v1 · immutable
/// Loads these fine
NPCName = nbttagcompound.getString("NpcName");
NPCRecruited = nbttagcompound.getBoolean("Recruited");
NPCFollow = nbttagcompound.getBoolean("Follow");
NPCWander = nbttagcompound.getBoolean("Wander");
/// Fails at loading
attackStrength = nbttagcompound.getInteger("Damage");
health = nbttagcompound.getInteger("Health");
NPCMaxHP = nbttagcompound.getInteger("MaxHP");
moveSpeed = nbttagcompound.getFloat("Speed");