reverting last "fix"

This commit is contained in:
Sarah 2015-12-15 14:20:21 +01:00
parent cf58fdee4a
commit 40ae7743c6
1 changed files with 2 additions and 11 deletions

View File

@ -305,6 +305,8 @@ public class TypeWars extends TeamGame
for(Player player : GetPlayers(true))
{
Recharge.Instance.Reset(player, "Chat Message");
player.setAllowFlight(true);
player.setFlying(true);
UtilTextBottom.display(C.cGreen + "You have $" + _moneyMap.get(player), player);
@ -367,8 +369,6 @@ public class TypeWars extends TeamGame
((CraftWorld) data.World).getHandle().spigotConfig.animalTrackingRange = 200;
((CraftWorld) data.World).getHandle().spigotConfig.monsterTrackingRange = 200;
Bukkit.getServer().spigot().getConfig().
_minionSpawns.put(GetTeamList().get(0), (ArrayList<Location>)data.GetDataLocs("RED").clone());
_minionSpawns.put(GetTeamList().get(1), (ArrayList<Location>)data.GetDataLocs("LIGHT_BLUE").clone());
@ -451,15 +451,6 @@ public class TypeWars extends TeamGame
_finishedMinions.clear();
}
private String[] _tutorialText = new String[]
{
"This is your giant!",
"Protect him from evil minions!",
"Type the name above their head to kill them",
"Kill your enemies giant before they kill yours.",
"Good luck!"
};
@EventHandler
public void testCommands(PlayerCommandPreprocessEvent event)
{