From dd035980e719b4e8782b1f072be7bf0a45a861a2 Mon Sep 17 00:00:00 2001 From: Andrew Date: Wed, 6 Nov 2013 19:44:53 +1300 Subject: [PATCH] Added hasValue --- src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java b/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java index 715a68c1..679b75a1 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java +++ b/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java @@ -174,6 +174,10 @@ public class FlagWatcher { return backup; } + protected boolean hasValue(int no) { + return entityValues.containsKey(no); + } + public boolean isBurning() { return getFlag(0); }