From a1a041fc361a70dc4116f1bb7113b6f8c4136e63 Mon Sep 17 00:00:00 2001 From: Jascha Starke Date: Sat, 26 Oct 2013 11:00:41 +0200 Subject: [PATCH] Add Eye of Ender to default use block --- .../minecraft/limitedcreative/limits/LimitConfig.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/de/jaschastarke/minecraft/limitedcreative/limits/LimitConfig.java b/src/main/java/de/jaschastarke/minecraft/limitedcreative/limits/LimitConfig.java index 25c8866..3b43d50 100644 --- a/src/main/java/de/jaschastarke/minecraft/limitedcreative/limits/LimitConfig.java +++ b/src/main/java/de/jaschastarke/minecraft/limitedcreative/limits/LimitConfig.java @@ -225,6 +225,7 @@ public class LimitConfig extends Configuration implements IConfigurationSubGroup * * default: * - EXP_BOTTLE + * - EYE_OF_ENDER * - BEDROCK */ @IsConfigurationNode(name = "use", order = 700) @@ -233,6 +234,7 @@ public class LimitConfig extends Configuration implements IConfigurationSubGroup useList = new BlackList(config.getList("use")); if (!config.contains("use")) { useList.add(new BlackList.Blacklisted(Material.EXP_BOTTLE)); + useList.add(new BlackList.Blacklisted(Material.EYE_OF_ENDER)); useList.add(new BlackList.Blacklisted(Material.BEDROCK)); } }