public void onActionShift(L2PcInstance player) { IActionHandler handler = ActionShiftHandler.getInstance().getHandler(getInstanceType()); if (handler != null) handler.action(player, this, true); player.sendPacket(ActionFailed.STATIC_PACKET); }
public void onAction(L2PcInstance player, boolean interact) { IActionHandler handler = ActionHandler.getInstance().getHandler(getInstanceType()); if (handler != null) handler.action(player, this, interact); player.sendPacket(ActionFailed.STATIC_PACKET); }