remove inf check
This commit is contained in:
1 parent
5b33291c28
commit
5bc3acf316
2 files changed
+2
-2
No files matched your search
@@ -1488,7 +1488,7 @@ public class EntityValue extends Value
|
||||
le.removeEffect(effect);
|
||||
return;
|
||||
}
|
||||
if (duration < 0 || Float.isInfinite(NumericValue.asNumber(list.get(1)).getFloat())){
|
||||
if (duration < 0){
|
||||
duration = -1;
|
||||
}
|
||||
int amplifier = 0;
|
||||
|
||||
Reference in new issue
Block a user