Allow players to fly. Fixes #608

This commit is contained in:
JeromSar 2015-05-12 17:18:12 +02:00
parent 994056047a
commit 68f972c562
2 changed files with 5 additions and 3 deletions

View file

@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
#Tue May 12 16:51:12 CEST 2015
build.number=1014
#Tue May 12 17:17:52 CEST 2015
build.number=1015

View file

@ -885,6 +885,8 @@ public class TFM_PlayerListener implements Listener
{
}
player.setAllowFlight(true);
new BukkitRunnable()
{
@Override
@ -900,7 +902,7 @@ public class TFM_PlayerListener implements Listener
TFM_Util.playerMsg(player, "Warning: Server is currenty in lockdown-mode, new players will not be able to join!", ChatColor.RED);
}
}
}.runTaskLater(TotalFreedomMod.plugin, 20L * 3L);
}.runTaskLater(TotalFreedomMod.plugin, 20L * 1L);
}
@EventHandler(priority = EventPriority.HIGHEST)