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