Fixed page buttons glinting when they shouldn't.

This commit is contained in:
Sollace 2019-02-19 18:01:55 +02:00
parent 8dca458610
commit 5421196198

View file

@ -72,8 +72,6 @@ public class GuiSpellBook extends GuiContainer implements IPageUnlockListener {
@Override
protected void actionPerformed(GuiButton button) throws IOException {
initGui();
if (button.id == 1) {
currentIPage = currentIPage.next();
} else {