fix: EntityTeam.java (NPE)

This commit is contained in:
ハムスケ ハム 2023-08-22 12:45:44 +09:00 committed by KingRainbow44
parent 2309b1f469
commit 7dd63e9816
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE

View File

@ -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);
}