Minor fix to previous commit
This commit is contained in:
parent
696f952c4e
commit
dcd85b88ea
@ -177,7 +177,7 @@ public class FlagWatcher {
|
|||||||
return getItemStack(slot.getSlot());
|
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))
|
if (entityValues.containsKey(no))
|
||||||
return (T) entityValues.get(no);
|
return (T) entityValues.get(no);
|
||||||
return (T) backup;
|
return (T) backup;
|
||||||
|
Loading…
Reference in New Issue
Block a user