From dcd85b88eacff401c07b8d0282c26fa908ee1176 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Mon, 14 Jul 2014 12:25:21 +1200 Subject: [PATCH] Minor fix to previous commit --- src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java b/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java index 3ead0442..b086f1b5 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java +++ b/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java @@ -177,7 +177,7 @@ public class FlagWatcher { return getItemStack(slot.getSlot()); } - protected T getValue(int no, Object backup) { + protected T getValue(int no, T backup) { if (entityValues.containsKey(no)) return (T) entityValues.get(no); return (T) backup;