Key MobBase on its ID and stop reading loadID
Every static_npc_mobbase row has ID = loadID since 3.6 dropped the server-made rows, so the race rune and rune effects are looked up by ID and the loaders no longer filter on loadID. No value change (dev: 2375 of 2375 rows have ID = loadID). Mob.loadID and NPC.loadID are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7027000ba1
commit
236bddc93b
5 files changed
+10
-18
No files matched your search
@@ -470,7 +470,7 @@ public class MobAI {
|
||||
|
||||
//trebuchet spawn handler
|
||||
|
||||
if (mob.despawned && mob.getMobBase().getLoadID() == 13171) {
|
||||
if (mob.despawned && mob.getMobBase().getObjectUUID() == 13171) {
|
||||
checkForRespawn(mob);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user