Merge branch 'master' into 1.16

This commit is contained in:
gnembon committed 2020-04-01 13:22:16 -03:00
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) ->