mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 20:07:32 +00:00
EventHooks:
-Fixed incorrect return value, was messing with natural spawns.
This commit is contained in:
1 parent
17566031d7
commit
6f7e2e8b18
1 file changed
+1
-1
@@ -549,7 +549,7 @@ public class EventHooks {
|
||||
handler.callScript(EnumScriptType.CNPC_NATURAL_SPAWN, event);
|
||||
return NpcAPI.EVENT_BUS.post(event);
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
public static void onCustomGuiButton(IPlayer player, ICustomGui gui, int buttonId) {
|
||||
|
||||
Reference in new issue
Block a user