Minor fix to previous commit

This commit is contained in:
libraryaddict 2014-07-14 12:25:21 +12:00
parent 696f952c4e
commit dcd85b88ea

View File

@ -177,7 +177,7 @@ public class FlagWatcher {
return getItemStack(slot.getSlot());
}
protected <T extends Object> T getValue(int no, Object backup) {
protected <T extends Object> T getValue(int no, T backup) {
if (entityValues.containsKey(no))
return (T) entityValues.get(no);
return (T) backup;