Skip to content

Commit

Permalink
Update DiscUpdateEvent.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
spartacus04 committed Feb 20, 2025
1 parent 0af29ce commit af0065f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ internal class DiscUpdateEvent : JextListener() {
}

private fun updateInventory(inv: Inventory) {
// We can't use inv.contents.forEachIndexed because it interferes with other inventory plugins
val contents = inv.contents
contents.forEachIndexed { i, it ->
if (it != null) {
Expand Down

0 comments on commit af0065f

Please sign in to comment.