Potential GE bugfix

This commit is contained in:
ceikry
2021-07-14 17:36:54 -05:00
parent 475c08d9dd
commit aff4aab068
@@ -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 :(") SystemLogger.logAlert("Check your logs, AVENGING ANGLE might have fucked up HARD and now " + player.name + "'s trade with index " + index + "is gone :(")
continue 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()] offers[index] = OfferManager.OFFER_MAPPING[offer["offerUID"].toString().toLong()]
update(offers[index]) update(offers[index])
} }