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
1 changed files with 4 additions and 4 deletions

View File

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