mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-10-24 19:53:04 +02:00
19 lines
604 B
Java
19 lines
604 B
Java
package com.eu.habbo.habbohotel.commands;
|
|
|
|
import com.eu.habbo.Emulator;
|
|
import com.eu.habbo.habbohotel.gameclients.GameClient;
|
|
|
|
public class StandCommand extends Command {
|
|
public StandCommand() {
|
|
super(null, Emulator.getTexts().getValue("commands.keys.cmd_stand").split(";"));
|
|
}
|
|
|
|
|
|
@Override
|
|
public boolean handle(GameClient gameClient, String[] params) throws Exception {
|
|
if (gameClient.getHabbo().getHabboInfo().getRiding() == null)
|
|
gameClient.getHabbo().getHabboInfo().getCurrentRoom().makeStand(gameClient.getHabbo());
|
|
return true;
|
|
}
|
|
}
|