mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-23 07:46:31 +00:00
Allow players to fly. Fixes #608
This commit is contained in:
parent
994056047a
commit
68f972c562
2 changed files with 5 additions and 3 deletions
|
@ -1,3 +1,3 @@
|
||||||
#Build Number for ANT. Do not edit!
|
#Build Number for ANT. Do not edit!
|
||||||
#Tue May 12 16:51:12 CEST 2015
|
#Tue May 12 17:17:52 CEST 2015
|
||||||
build.number=1014
|
build.number=1015
|
||||||
|
|
|
@ -885,6 +885,8 @@ public class TFM_PlayerListener implements Listener
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
player.setAllowFlight(true);
|
||||||
|
|
||||||
new BukkitRunnable()
|
new BukkitRunnable()
|
||||||
{
|
{
|
||||||
@Override
|
@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);
|
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)
|
@EventHandler(priority = EventPriority.HIGHEST)
|
||||||
|
|
Loading…
Reference in a new issue