#Raid Problem

1 messages · Page 1 of 1 (latest)

unreal pawn
white remnant
#

This raid trigger event of yours, is that a Bukkit event class?

desert nacelle
#

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

unreal pawn
#

It is also the method where RaidTriggerEvent is fired

#

The method will return the nms Raid object in return...

desert nacelle
#

Could you check if the Raid object is an instance of PersistentRaid

unreal pawn
#

Nope

#

PersistentRaid is like a class that governs raids for a world

#

ElgarL suggested a solution, I think may work

desert nacelle
#

That would work

#

I might have over thought the problem...

#

Things will be fired in order

unreal pawn
#

yea so it works even if there are multiple triggers in the same tick