#Raid Problem
1 messages · Page 1 of 1 (latest)
This raid trigger event of yours, is that a Bukkit event class?
RaidTriggerEvent is a builtin event
I see what the issue is. You could try an instance of check on the raid object, assuming you have your own Raid object
Ok to trigger an nms raid for every wave, I am using this method PersistentRaid#createOrExtendRaid(EntityPlayer) where PersistentRaid is an nms class.
It is also the method where RaidTriggerEvent is fired
The method will return the nms Raid object in return...
Could you check if the Raid object is an instance of PersistentRaid
Nope
PersistentRaid is like a class that governs raids for a world
ElgarL suggested a solution, I think may work
That would work
I might have over thought the problem...
Things will be fired in order
yea so it works even if there are multiple triggers in the same tick