From 9acc3f93599d217d4c27b4e3eb0a74298bb2155b Mon Sep 17 00:00:00 2001 From: ArpyAge Date: Wed, 1 Sep 2021 17:36:32 +0200 Subject: [PATCH] Fix text on Stalk Command (by Snaiker) And some emulator_settings for the previous commit --- sqlupdates/3_0_0 to 3_0_1.sql | 4 ++++ .../java/com/eu/habbo/habbohotel/commands/StalkCommand.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 sqlupdates/3_0_0 to 3_0_1.sql diff --git a/sqlupdates/3_0_0 to 3_0_1.sql b/sqlupdates/3_0_0 to 3_0_1.sql new file mode 100644 index 00000000..674b2097 --- /dev/null +++ b/sqlupdates/3_0_0 to 3_0_1.sql @@ -0,0 +1,4 @@ +INSERT INTO `emulator_settings`(`key`, `value`) VALUES ('wired.place.under', '0'); +INSERT INTO `emulator_settings`(`key`, `value`) VALUES ('wired.custom.enabled', '0'); + +INSERT INTO `emulator_texts` (`key`, `value`) VALUES ('commands.error.cmd_stalk.forgot_username', 'Specify the username of the Habbo you want to follow!'); \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/habbohotel/commands/StalkCommand.java b/src/main/java/com/eu/habbo/habbohotel/commands/StalkCommand.java index 31312dd7..de6bde54 100644 --- a/src/main/java/com/eu/habbo/habbohotel/commands/StalkCommand.java +++ b/src/main/java/com/eu/habbo/habbohotel/commands/StalkCommand.java @@ -43,7 +43,7 @@ public class StalkCommand extends Command { //gameClient.sendResponse(new ForwardToRoomComposer(habbo.getHabboInfo().getCurrentRoom().getId())); return true; } else { - gameClient.getHabbo().whisper(Emulator.getTexts().getValue("commands.error.cmd_summon.forgot_username"), RoomChatMessageBubbles.ALERT); + gameClient.getHabbo().whisper(Emulator.getTexts().getValue("commands.error.cmd_stalk.forgot_username"), RoomChatMessageBubbles.ALERT); return true; } }