mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-09 03:22:52 +08:00
fix: EntityTeam.java (NPE)
This commit is contained in:
parent
2309b1f469
commit
7dd63e9816
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user