Disable logging on things I don't care about
This commit is contained in:
parent
9ad05e85eb
commit
31a8027157
|
@ -22,7 +22,7 @@ public class ConfigCommand {
|
||||||
return 1;
|
return 1;
|
||||||
}));
|
}));
|
||||||
literalargumentbuilder.then(Commands.func_197057_a("delete").executes((source) -> {
|
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;
|
return 1;
|
||||||
}));
|
}));
|
||||||
dispatcher.register(literalargumentbuilder);
|
dispatcher.register(literalargumentbuilder);
|
||||||
|
|
|
@ -20,7 +20,7 @@ public class HomeCommand {
|
||||||
PlayerData player = Config.getPlayer(source.getSource().func_197035_h().func_110124_au().toString());
|
PlayerData player = Config.getPlayer(source.getSource().func_197035_h().func_110124_au().toString());
|
||||||
PlayerPosition position = player.getHome();
|
PlayerPosition position = player.getHome();
|
||||||
if (position.y == -1) {
|
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;
|
return 1;
|
||||||
}
|
}
|
||||||
Set<SPlayerPositionLookPacket.Flags> set = EnumSet.noneOf(SPlayerPositionLookPacket.Flags.class);
|
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);
|
PlayerPosition location = new PlayerPosition(x, y, z, yaw, pitch);
|
||||||
player.setHome(location);
|
player.setHome(location);
|
||||||
Config.setPlayer(player);
|
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;
|
return 1;
|
||||||
})));
|
})));
|
||||||
dispatcher.register(literalargumentbuilder);
|
dispatcher.register(literalargumentbuilder);
|
||||||
|
|
Reference in New Issue