updating denial message

This commit is contained in:
Sarah 2016-01-02 16:45:15 +01:00
parent 7e1b0b9110
commit dd6d7b1b96
2 changed files with 3 additions and 5 deletions

View File

@ -190,7 +190,7 @@ public class DisguiseCommand extends CommandBase<HubManager> implements Listener
{} {}
if(otherRank.has(Rank.TWITCH)) if(otherRank.has(Rank.TWITCH))
{ {
UtilPlayer.message(caller, F.main("Disguise", "You can't disguise as staff!")); UtilPlayer.message(caller, F.main("Disguise", "You can't disguise as staff, Youtubers or Twitchers!"));
return; return;
} }
_disguisedPlayers.put(caller, profile); _disguisedPlayers.put(caller, profile);

View File

@ -29,13 +29,11 @@ import net.minecraft.server.v1_8_R3.EnumDifficulty;
import net.minecraft.server.v1_8_R3.IChatBaseComponent; import net.minecraft.server.v1_8_R3.IChatBaseComponent;
import net.minecraft.server.v1_8_R3.PacketPlayOutAnimation; import net.minecraft.server.v1_8_R3.PacketPlayOutAnimation;
import net.minecraft.server.v1_8_R3.PacketPlayOutPlayerInfo; import net.minecraft.server.v1_8_R3.PacketPlayOutPlayerInfo;
import net.minecraft.server.v1_8_R3.WorldType;
import net.minecraft.server.v1_8_R3.PacketPlayOutPlayerInfo.EnumPlayerInfoAction; import net.minecraft.server.v1_8_R3.PacketPlayOutPlayerInfo.EnumPlayerInfoAction;
import net.minecraft.server.v1_8_R3.PacketPlayOutPlayerInfo.PlayerInfoData; import net.minecraft.server.v1_8_R3.PacketPlayOutPlayerInfo.PlayerInfoData;
import net.minecraft.server.v1_8_R3.PacketPlayOutRespawn; import net.minecraft.server.v1_8_R3.PacketPlayOutRespawn;
import net.minecraft.server.v1_8_R3.PacketPlayOutWindowData;
import net.minecraft.server.v1_8_R3.PacketPlayOutWorldEvent;
import net.minecraft.server.v1_8_R3.WorldSettings.EnumGamemode; import net.minecraft.server.v1_8_R3.WorldSettings.EnumGamemode;
import net.minecraft.server.v1_8_R3.WorldType;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.ChatColor; import org.bukkit.ChatColor;
@ -193,7 +191,7 @@ public class DisguiseCommand extends CommandBase<ArcadeManager> implements Liste
{} {}
if(otherRank.has(Rank.TWITCH)) if(otherRank.has(Rank.TWITCH))
{ {
UtilPlayer.message(caller, F.main("Disguise", "You can't disguise as staff!")); UtilPlayer.message(caller, F.main("Disguise", "You can't disguise as staff, Youtubers or Twitchers!"));
return; return;
} }
_disguisedPlayers.put(caller, profile); _disguisedPlayers.put(caller, profile);