`Warhead.Detonate()` does not work
Closed this issue · 1 comments
steven4547466 commented
[2023-04-09 15:53:55.066 -04:00] [Error] [PluginAPI] Failed executing event OnRoundStart (RoundStart) in plugin TestNWAPI.Plugin
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
at PluginAPI.Core.Warhead.Detonate () [0x0000b] in <8eb2b959a7ee45a88abe21e98f866aab>:0
For some reason the code tries to get the alphawarhead component instead of using the singleton.
moddedmcplayer commented