Arcturus-Community/src/main/java/com/eu/habbo/habbohotel/commands/HabnamCommand.java

21 lines
682 B
Java
Raw Normal View History

2018-07-06 15:30:00 +02:00
package com.eu.habbo.habbohotel.commands;
import com.eu.habbo.habbohotel.gameclients.GameClient;
2019-05-26 20:14:53 +02:00
public class HabnamCommand extends Command {
public HabnamCommand() {
super(null, new String[]{"habnam", "gangnam"});
2018-07-06 15:30:00 +02:00
}
@Override
2019-05-26 20:14:53 +02:00
public boolean handle(GameClient gameClient, String[] params) throws Exception {
if (gameClient.getHabbo().getHabboStats().hasActiveClub()) {
if (gameClient.getHabbo().getHabboInfo().getCurrentRoom() != null) {
2019-03-18 02:22:00 +01:00
gameClient.getHabbo().getHabboInfo().getCurrentRoom().giveEffect(gameClient.getHabbo(), 140, 30);
2018-07-06 15:30:00 +02:00
return true;
}
}
return false;
}
}