rename to jumpingcm
This commit is contained in:
1 parent
367e584e43
commit
182d34936a
1 file changed
+1
-1
@@ -906,7 +906,7 @@ public class EntityValue extends Value
|
|||||||
throw new InternalExpressionException(NumericValue.asNumber(v).getLong()+" is an invalid gamemode id");
|
throw new InternalExpressionException(NumericValue.asNumber(v).getLong()+" is an invalid gamemode id");
|
||||||
});
|
});
|
||||||
|
|
||||||
put("jump",(e,v)->{
|
put("jumping",(e,v)->{
|
||||||
if(!(e instanceof LivingEntity)){
|
if(!(e instanceof LivingEntity)){
|
||||||
throw new InternalExpressionException("Non-living entities can't jump");
|
throw new InternalExpressionException("Non-living entities can't jump");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user