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

Don't tell users to ask a moderator if they can set their home themselves

This commit is contained in:
flewkey 2019-05-28 08:48:00 -07:00
parent 43b81556bf
commit 72c2d8ba26
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
1 changed files with 1 additions and 1 deletions

View File

@ -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"), false); source.getSource().func_197030_a(new TranslationTextComponent("Home not found, do /home set"), false);
return 1; return 1;
} }
Set<SPlayerPositionLookPacket.Flags> set = EnumSet.noneOf(SPlayerPositionLookPacket.Flags.class); Set<SPlayerPositionLookPacket.Flags> set = EnumSet.noneOf(SPlayerPositionLookPacket.Flags.class);