flewkey
/
mc.2a03.party
Archived
1
0
Fork 0

Disable logging on things I don't care about

This commit is contained in:
flewkey 2019-05-27 10:36:20 -07:00
parent 9ad05e85eb
commit 31a8027157
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ public class ConfigCommand {
return 1;
}));
literalargumentbuilder.then(Commands.func_197057_a("delete").executes((source) -> {
source.getSource().func_197030_a(new TranslationTextComponent("Did you seriously think this command did something?"), true);
source.getSource().func_197030_a(new TranslationTextComponent("Did you seriously think this command did something?"), false);
return 1;
}));
dispatcher.register(literalargumentbuilder);

View File

@ -20,7 +20,7 @@ public class HomeCommand {
PlayerData player = Config.getPlayer(source.getSource().func_197035_h().func_110124_au().toString());
PlayerPosition position = player.getHome();
if (position.y == -1) {
source.getSource().func_197030_a(new TranslationTextComponent("Home not found, ask a moderator to set it"), true);
source.getSource().func_197030_a(new TranslationTextComponent("Home not found, ask a moderator to set it"), false);
return 1;
}
Set<SPlayerPositionLookPacket.Flags> set = EnumSet.noneOf(SPlayerPositionLookPacket.Flags.class);
@ -44,7 +44,7 @@ public class HomeCommand {
PlayerPosition location = new PlayerPosition(x, y, z, yaw, pitch);
player.setHome(location);
Config.setPlayer(player);
source.getSource().func_197030_a(new TranslationTextComponent("User's home has been updated"), true);
source.getSource().func_197030_a(new TranslationTextComponent("User's home has been updated ("+player.getUUID()+")"), true);
return 1;
})));
dispatcher.register(literalargumentbuilder);