mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-01-17 00:06:00 -05:00
ZonedInCharacter.sendSelfBuffCommand now awaits a buff delta (CREO06-19) instead of a movementPercent delta (CREO04-04)
This commit is contained in:
@@ -29,5 +29,5 @@ import java.util.concurrent.TimeUnit
|
||||
|
||||
fun ZonedInCharacter.sendSelfBuffCommand(buffCommand: String) {
|
||||
sendCommand(buffCommand)
|
||||
player.waitForNextObjectDelta(player.creatureObject.objectId, 4, 4, 1, TimeUnit.SECONDS) ?: throw IllegalStateException("Failed to receive buff object delta for player")
|
||||
player.waitForNextObjectDelta(player.creatureObject.objectId, 6, 19, 1, TimeUnit.SECONDS) ?: throw IllegalStateException("Failed to receive buff object delta for player")
|
||||
}
|
||||
Reference in New Issue
Block a user