Don't tell users to ask a moderator if they can set their home themselves
This commit is contained in:
parent
43b81556bf
commit
72c2d8ba26
@ -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);
|
||||||
|
Reference in New Issue
Block a user