mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 19:59:56 +00:00
A various amount of fixes!!!!!
This commit is contained in:
1 parent
083d38b9d3
commit
5d16e79767
40 files changed
+111
-417
No files matched your search
@@ -1109,7 +1109,7 @@ public class DataAbilities extends AbstractDataAbilities {
|
||||
}
|
||||
|
||||
public void readFromNBT(NBTTagCompound compound) {
|
||||
enabled = compound.getBoolean("AbilitiesEnabled");
|
||||
enabled = compound.hasKey("AbilitiesEnabled") ? compound.getBoolean("AbilitiesEnabled") : true;
|
||||
minCooldown = compound.getInteger("AbilityMinCooldown");
|
||||
maxCooldown = compound.getInteger("AbilityMaxCooldown");
|
||||
|
||||
|
||||
Reference in new issue
Block a user