mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Allow players to fly. Fixes #608
This commit is contained in:
parent
994056047a
commit
68f972c562
@ -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 New Issue
Block a user