mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-15 05:08:06 +00:00
Minor fix to previous commit
This commit is contained in:
parent
696f952c4e
commit
dcd85b88ea
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue