From 7dd63e981661cfe0da00b9bc6b1ca5907ba14675 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=8F=E3=83=A0=E3=82=B9=E3=82=B1=20=E3=83=8F=E3=83=A0?= Date: Tue, 22 Aug 2023 12:45:44 +0900 Subject: [PATCH] fix: EntityTeam.java (NPE) --- src/main/java/emu/grasscutter/game/entity/EntityTeam.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/emu/grasscutter/game/entity/EntityTeam.java b/src/main/java/emu/grasscutter/game/entity/EntityTeam.java index a9ccf7251..d6116752b 100644 --- a/src/main/java/emu/grasscutter/game/entity/EntityTeam.java +++ b/src/main/java/emu/grasscutter/game/entity/EntityTeam.java @@ -17,6 +17,7 @@ public class EntityTeam extends GameEntity { public EntityTeam(Player player) { super(player.getScene()); initAbilities(); + this.player = player; this.id = player.getWorld().getNextEntityId(EntityIdType.TEAM); }