potential NPE issue
This commit is contained in:
1 parent
bab7037b80
commit
076ad62fad
1 file changed
+1
@@ -439,6 +439,7 @@ public class Auxiliary {
|
||||
if (lv.size() == 2)
|
||||
{
|
||||
ServerPlayerEntity player = EntityValue.getPlayerByValue(s.getMinecraftServer(), res);
|
||||
if (player == null) return LazyValue.NULL;
|
||||
s = player.getCommandSource();
|
||||
res = lv.get(1).evalValue(c);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user