Potential GE bugfix

This commit is contained in:
ceikry 2021-07-14 17:36:54 -05:00
parent 89ce2749b4
commit 625f832ff7

View file

@ -241,7 +241,7 @@ class PlayerGrandExchange(private val player: Player) {
SystemLogger.logAlert("Check your logs, AVENGING ANGLE might have fucked up HARD and now " + player.name + "'s trade with index " + index + "is gone :(")
continue
}
OfferManager.setIndex(offer["offerUID"].toString().toInt().toLong(), index)
OfferManager.setIndex(offer["offerUID"].toString().toLong(), index)
offers[index] = OfferManager.OFFER_MAPPING[offer["offerUID"].toString().toLong()]
update(offers[index])
}