v1.4.0: added a safety check to earthroot armor
This commit is contained in:
@@ -112,10 +112,12 @@ public class Earthroot extends Plant {
|
||||
}
|
||||
|
||||
public void level( int value ) {
|
||||
if (level < value) {
|
||||
level = value;
|
||||
if (target != null) {
|
||||
if (level < value) {
|
||||
level = value;
|
||||
}
|
||||
pos = target.pos;
|
||||
}
|
||||
pos = target.pos;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user