mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 03:47:27 +00:00
Remove Prev Selected
This commit is contained in:
1 parent
bf0a856954
commit
94ffd6f5ca
1 file changed
+1
-3
@@ -27,8 +27,6 @@ public class GuiNPCEditAnimation extends GuiModelInterface implements ITextfield
|
||||
public boolean playingAnimation = false;
|
||||
private Frame prevFrame;
|
||||
private GuiScreen parent;
|
||||
|
||||
private String prevSelected = "";
|
||||
private long prevTick;
|
||||
|
||||
public GuiNPCEditAnimation(GuiScreen parent, Animation animation, EntityNPCInterface npc) {
|
||||
@@ -453,7 +451,7 @@ public class GuiNPCEditAnimation extends GuiModelInterface implements ITextfield
|
||||
@Override
|
||||
public void close() {
|
||||
if (animation != null) {
|
||||
Client.sendData(EnumPacketServer.AnimationSave, prevSelected, animation.writeToNBT());
|
||||
Client.sendData(EnumPacketServer.AnimationSave, animation.id, animation.writeToNBT());
|
||||
}
|
||||
displayGuiScreen(parent);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user