mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-10-23 19:23:05 +02:00
26 lines
708 B
Java
26 lines
708 B
Java
|
package com.eu.habbo.habbohotel.commands;
|
||
|
|
||
|
import com.eu.habbo.habbohotel.gameclients.GameClient;
|
||
|
|
||
|
public class HabnamCommand extends Command
|
||
|
{
|
||
|
public HabnamCommand()
|
||
|
{
|
||
|
super(null, new String[]{ "habnam", "gangnam" });
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public boolean handle(GameClient gameClient, String[] params) throws Exception
|
||
|
{
|
||
|
if (gameClient.getHabbo().getHabboStats().hasActiveClub())
|
||
|
{
|
||
|
if (gameClient.getHabbo().getHabboInfo().getCurrentRoom() != null)
|
||
|
{
|
||
|
gameClient.getHabbo().getHabboInfo().getCurrentRoom().giveEffect(gameClient.getHabbo(), 140);
|
||
|
return true;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
return false;
|
||
|
}
|
||
|
}
|