mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Allow compiling for Spigot 1.7.8
This commit is contained in:
parent
3371f54c06
commit
0e9044ffc3
@ -1,3 +1,3 @@
|
|||||||
#Build Number for ANT. Do not edit!
|
#Build Number for ANT. Do not edit!
|
||||||
#Tue Apr 15 16:43:28 CEST 2014
|
#Thu Apr 17 18:28:38 CEST 2014
|
||||||
build.number=763
|
build.number=765
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package me.StevenLawson.TotalFreedomMod;
|
package me.StevenLawson.TotalFreedomMod;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
import me.StevenLawson.TotalFreedomMod.Config.TFM_ConfigEntry;
|
import me.StevenLawson.TotalFreedomMod.Config.TFM_ConfigEntry;
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
@ -34,7 +35,16 @@ public class TFM_ServerInterface
|
|||||||
{
|
{
|
||||||
MinecraftServer.getServer().getPlayerList().getWhitelist().remove(player);
|
MinecraftServer.getServer().getPlayerList().getWhitelist().remove(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
MinecraftServer.getServer().getPlayerList().getWhitelist().save();
|
MinecraftServer.getServer().getPlayerList().getWhitelist().save();
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
TFM_Log.warning("Could not purge the whitelist!");
|
||||||
|
TFM_Log.warning(ex);
|
||||||
|
}
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user