mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-26 16:13:07 +00:00
Lots of Fixes
This commit is contained in:
1 parent
0ad15e674a
commit
61d08882a9
20 files changed
+55
-27
No files matched your search
@@ -126,7 +126,7 @@ public class CustomAbility extends Ability implements ICustomAbility {
|
||||
|
||||
@Override
|
||||
public void readTypeNBT(NBTTagCompound nbt) {
|
||||
this.durationTicks = nbt.getInteger("durationTicks");
|
||||
this.durationTicks = Math.max(0, nbt.getInteger("durationTicks"));
|
||||
}
|
||||
|
||||
// ==================== GUI ====================
|
||||
|
||||
Reference in new issue
Block a user