mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-13 21:54:08 +00:00
Fix Unrefactored Save()
This commit is contained in:
1 parent
3e67bf0336
commit
8a7c4330aa
2 files changed
+2
-2
No files matched your search
@@ -46,7 +46,7 @@ public class AnimationCommand extends CommandKamkeelBase {
|
||||
|
||||
processSubCommand(sender, args[1], Arrays.copyOfRange(args, 2, args.length));
|
||||
data.get(0).animationData.updateClient();
|
||||
data.get(0).save();
|
||||
data.get(0).save(true);
|
||||
}
|
||||
|
||||
@SubCommand(desc = "enable animation")
|
||||
|
||||
@@ -149,7 +149,7 @@ public class PlayerData implements IExtendedEntityProperties, IPlayerData {
|
||||
|
||||
public void setGUIOpen(boolean bool) {
|
||||
isGUIOpen = bool;
|
||||
save();
|
||||
save(false);
|
||||
}
|
||||
|
||||
public boolean getGUIOpen() {
|
||||
|
||||
Reference in new issue
Block a user