Fix crash with EndlessIds (#132)

This commit is contained in:
Yannick Marcotte-Gourde authored and GitHub committed 2026-05-16 01:18:37 -04:00
1 parent 6741d061a2
commit de9297707f
1 file changed
+1 -1
@@ -287,7 +287,7 @@ public class GolemHooks {
for (int i = 4; i < 31; ++i) {
try {
// Add the object
watcher.addObject(GolemHooks.DATAWATCHER_ID, localRegistry.mappingsToString());
watcher.addObject(i, localRegistry.mappingsToString());
// Object was added
GolemHooks.DATAWATCHER_ID = i;