mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-13 05:27:37 +00:00
Fixed SubGuiAnimationOptions not closing on escape
This commit is contained in:
1 parent
2fba593647
commit
37e93df24a
1 file changed
+2
@@ -12,6 +12,7 @@ public class SubGuiAnimationOptions extends SubGuiInterface {
|
||||
public SubGuiAnimationOptions(Animation animation) {
|
||||
this.animation = animation;
|
||||
setBackground("smallbg.png");
|
||||
closeOnEsc = true;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -50,6 +51,7 @@ public class SubGuiAnimationOptions extends SubGuiInterface {
|
||||
animation.whileMoving = value == 0;
|
||||
}
|
||||
|
||||
|
||||
initGui();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user