2018-07-06 15:30:00 +02:00
|
|
|
package com.eu.habbo.core.consolecommands;
|
|
|
|
|
|
|
|
|
2018-09-12 18:45:00 +02:00
|
|
|
import com.eu.habbo.Emulator;
|
2018-09-28 21:25:00 +02:00
|
|
|
import com.eu.habbo.habbohotel.users.Habbo;
|
2018-09-12 18:45:00 +02:00
|
|
|
|
2019-05-26 20:14:53 +02:00
|
|
|
public class ConsoleTestCommand extends ConsoleCommand {
|
|
|
|
public ConsoleTestCommand() {
|
2018-12-22 11:39:00 +01:00
|
|
|
super("test", "This is just a test.");
|
2018-07-06 15:30:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2019-05-26 20:14:53 +02:00
|
|
|
public void handle(String[] args) throws Exception {
|
|
|
|
if (Emulator.debugging) {
|
2018-12-22 11:39:00 +01:00
|
|
|
System.out.println("This is a test command for live debugging.");
|
2018-07-06 15:30:00 +02:00
|
|
|
|
|
|
|
|
2018-12-22 11:39:00 +01:00
|
|
|
//AchievementManager.progressAchievement(4, Emulator.getGameEnvironment().getAchievementManager().getAchievement("AllTimeHotelPresence"), 30);
|
|
|
|
Habbo habbo = Emulator.getGameEnvironment().getHabboManager().getHabbo(1);
|
|
|
|
habbo.getHabboInfo().getMachineID();
|
|
|
|
}
|
2018-07-06 15:30:00 +02:00
|
|
|
}
|
|
|
|
}
|