Update InventoryGUIPageChange.kt

This commit is contained in:
bluefireoly
2020-10-12 17:27:11 +02:00
parent dd905f22da
commit 8aed914c7b

View File

@@ -1,6 +1,6 @@
package net.axay.kspigot.inventory
import net.axay.kspigot.main.KSpigotMainInstance
import net.axay.kspigot.runnables.task
abstract class InventoryGUIPageChangeCalculator {
@@ -128,7 +128,7 @@ private inline fun changePageEffect(
val ifInverted = fromPage >= toPage
var currentOffset = 1
KSpigotMainInstance.task(
task(
sync = true,
period = 1,
howOften = doFor.toLong()