Merge branch 'master' into 1.16
This commit is contained in:
commit
a4626df004
8 files changed
+31
-5
No files matched your search
@@ -331,6 +331,15 @@ public class EntityValue extends Value
|
||||
return Value.NULL;
|
||||
});
|
||||
|
||||
put("ping", (e, a) -> {
|
||||
if (e instanceof ServerPlayerEntity)
|
||||
{
|
||||
ServerPlayerEntity spe = (ServerPlayerEntity) e;
|
||||
return new NumericValue(spe.pingMilliseconds);
|
||||
}
|
||||
return Value.NULL;
|
||||
});
|
||||
|
||||
//spectating_entity
|
||||
// isGlowing
|
||||
put("effect", (e, a) ->
|
||||
|
||||
Reference in new issue
Block a user