Actually open the page
This commit is contained in:
parent
bc608e8670
commit
9f8cc4f372
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue