Actually open the page

This commit is contained in:
Spencer 2018-01-03 19:24:02 -05:00 committed by Alexander Meech
parent bc608e8670
commit 9f8cc4f372

View File

@ -240,20 +240,20 @@ public class PunishStaffPage extends PunishPage
{ {
if (_wasDisguised) if (_wasDisguised)
{ {
new ConfirmationPage<>(getPlayer(), this, new ConfirmationProcessor() getShop().openPageForPlayer(getPlayer(), new ConfirmationPage<>(getPlayer(), this, new ConfirmationProcessor()
{ {
@Override @Override
public void init(Inventory inventory) public void init(Inventory inventory)
{ {
doPunishment(category, severity);
} }
@Override @Override
public void process(ConfirmationCallback callback) public void process(ConfirmationCallback callback)
{ {
doPunishment(category, severity);
} }
}, buildDisguiseIcon()); }, buildDisguiseIcon()));
} }
else else
{ {