mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-22 23:10:52 +01:00
Added text to emulator_texts. fixes #480
This commit is contained in:
parent
38f09b3313
commit
e6c5339439
7
sqlupdates/2_3_0-RC-2_TO_2_3_0-RC-3.sql
Normal file
7
sqlupdates/2_3_0-RC-2_TO_2_3_0-RC-3.sql
Normal file
@ -0,0 +1,7 @@
|
||||
ALTER TABLE `users_pets`
|
||||
ADD COLUMN `saddle_item_id` int(11) NULL;
|
||||
|
||||
INSERT INTO `emulator_settings`(`key`, `value`) VALUES ('hotel.bot.placement.messages', 'Yo!;Hello I\'m a real party animal!;Hello!');
|
||||
|
||||
UPDATE `items_base` SET `customparams` = '1,true' WHERE `item_name` = 'wf_blob';
|
||||
UPDATE `items_base` SET `customparams` = '5,false' WHERE `item_name` = 'wf_blob2';
|
1
sqlupdates/2_3_0-RC-3 TO 2_3_0.sql
Normal file
1
sqlupdates/2_3_0-RC-3 TO 2_3_0.sql
Normal file
@ -0,0 +1 @@
|
||||
INSERT INTO `emulator_texts`(`key`, `value`) VALUES ('commands.generic.cmd_commands.text', 'Your Commands');
|
@ -12,7 +12,7 @@ public class CommandsCommand extends Command {
|
||||
|
||||
@Override
|
||||
public boolean handle(GameClient gameClient, String[] params) throws Exception {
|
||||
StringBuilder message = new StringBuilder("Your Commands");
|
||||
StringBuilder message = new StringBuilder(Emulator.getTexts().getValue("commands.generic.cmd_commands.text"));
|
||||
List<Command> commands = Emulator.getGameEnvironment().getCommandHandler().getCommandsForRank(gameClient.getHabbo().getHabboInfo().getRank().getId());
|
||||
message.append("(").append(commands.size()).append("):\r\n");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user