From 3ee46ccf9a26dda69f79632463059260b3eb0715 Mon Sep 17 00:00:00 2001 From: Shevchik Date: Thu, 2 Jan 2014 17:59:53 +0400 Subject: [PATCH] Add item pickup option to config --- src/com/cnaude/chairs/Chairs.java | 2 ++ src/config.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/com/cnaude/chairs/Chairs.java b/src/com/cnaude/chairs/Chairs.java index 97c2a81..f8ed9a6 100644 --- a/src/com/cnaude/chairs/Chairs.java +++ b/src/com/cnaude/chairs/Chairs.java @@ -125,6 +125,8 @@ public class Chairs extends JavaPlugin { sitMaxHealth = config.getInt("sit-effects.healing.max-percent",100); sitHealthPerInterval = config.getInt("sit-effects.healing.amount",1); + sitPickupEnabled = config.getBoolean("sit-effects.itempickup.enabled", false); + sitDisableAllCommands = config.getBoolean("sit-restrictions.commands.all"); sitDisabledCommands = new HashSet(config.getStringList("sit-restrictions.commands.list")); diff --git a/src/config.yml b/src/config.yml index 3db5270..119790f 100644 --- a/src/config.yml +++ b/src/config.yml @@ -44,6 +44,8 @@ sit-effects: interval: 20 amount: 1 max-percent: 100 + itempickup: + enabled: false sit-restrictions: commands: all: false