Fixed Hangover

This commit is contained in:
Sn0wStorm
2013-09-01 23:47:01 +02:00
parent 16bb62c854
commit edfeab1fc8
5 changed files with 51 additions and 19 deletions
+1
View File
@@ -137,6 +137,7 @@ public class P extends JavaPlugin {
// various Settings
autosave = config.getInt("autosave", 3);
BPlayer.pukeItemId = Material.matchMaterial(config.getString("pukeItem", "SOUL_SAND")).getId();
BPlayer.hangoverTime = config.getInt("hangoverDays", 0) * 24 * 60;
BPlayer.overdrinkKick = config.getBoolean("enableKickOnOverdrink", false);
BPlayer.enableHome = config.getBoolean("enableHome", false);
BPlayer.enableLoginDisallow = config.getBoolean("enableLoginDisallow", false);