Arcturus-Community/src/main/java/com/eu/habbo/core/consolecommands/ConsoleTestCommand.java

27 lines
901 B
Java
Raw Normal View History

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;
2020-05-05 00:28:25 +02:00
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
2018-09-12 18:45:00 +02:00
2019-05-26 20:14:53 +02:00
public class ConsoleTestCommand extends ConsoleCommand {
2020-05-05 00:28:25 +02:00
private static final Logger LOGGER = LoggerFactory.getLogger(ConsoleTestCommand.class);
2019-05-26 20:14:53 +02:00
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) {
2020-05-05 00:28:25 +02:00
LOGGER.info("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
}
}