This commit is contained in:
Jake Potrebic
2024-04-23 23:44:48 -07:00
parent 49787270cb
commit 27c46717f6
56 changed files with 83 additions and 106 deletions

View File

@@ -42,7 +42,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
}
+ // Paper start - Entity#getEntitySpawnReason
+ if (nbttagcompound == null) {
+ if (optional.isEmpty()) {
+ player.spawnReason = org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.DEFAULT; // set Player SpawnReason to DEFAULT on first login
+ }
+ // Paper end - Entity#getEntitySpawnReason