mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-18 06:21:24 +08:00
Merge branch 'development' into hyper-optimization
This commit is contained in:
@@ -800,10 +800,7 @@ public final class TeamManager extends BasePlayerDataManager {
|
||||
|
||||
public void onAvatarDie(long dieGuid) {
|
||||
EntityAvatar deadAvatar = this.getCurrentAvatarEntity();
|
||||
|
||||
if (deadAvatar.isAlive() || deadAvatar.getId() != dieGuid) {
|
||||
return;
|
||||
}
|
||||
if (deadAvatar == null || deadAvatar.getId() != dieGuid) return;
|
||||
|
||||
PlayerDieType dieType = deadAvatar.getKilledType();
|
||||
int killedBy = deadAvatar.getKilledBy();
|
||||
|
||||
Reference in New Issue
Block a user