Implemented puke item despawn time, defaults to 1 min

This commit is contained in:
Sn0wStorm
2016-05-27 21:38:15 +02:00
parent 581dd69f38
commit 41c6782635
6 changed files with 128 additions and 17 deletions
+1
View File
@@ -287,6 +287,7 @@ public class P extends JavaPlugin {
BPlayer.enableHome = config.getBoolean("enableHome", false);
BPlayer.enableLoginDisallow = config.getBoolean("enableLoginDisallow", false);
BPlayer.enablePuke = config.getBoolean("enablePuke", false);
BPlayer.pukeDespawntime = config.getInt("pukeDespawntime", 60) * 20;
BPlayer.homeType = config.getString("homeType", null);
Brew.colorInBarrels = config.getBoolean("colorInBarrels", false);
Brew.colorInBrewer = config.getBoolean("colorInBrewer", false);