TechnicallyCoded / Inventory-Rollback-Plus

Spigot/Bukkit plugin that allows server moderators to restore player items and data from backups.
https://www.spigotmc.org/resources/85811/
Other
66 stars 44 forks source link

Folia Support #137

Closed Anon8281 closed 1 year ago

Anon8281 commented 1 year ago

Using https://github.com/Anon8281/UniversalScheduler

TechnicallyCoded commented 1 year ago

Sorry but you failed to read the previous PR, also about folia support, where I already answered this. Feel free to use this on your own server but I won't be merging it.

ewof commented 1 year ago
[17:39:18 WARN]: [InventoryRollbackPlus] Async task for InventoryRollbackPlus v1.6.10 generated an exception
java.lang.IllegalArgumentException: Initial delay ticks may not be <= 0
        at io.papermc.paper.threadedregions.scheduler.FoliaGlobalRegionScheduler.runAtFixedRate(FoliaGlobalRegionScheduler.java:84) ~[folia-1.20.1.jar:?
]
        at com.nuclyon.technicallycoded.inventoryrollback.universalScheduler.foliaScheduler.FoliaScheduler.runTaskTimer(FoliaScheduler.java:63) ~[Invent
oryRollbackPlus-1.6.10.jar:?]
        at com.nuclyon.technicallycoded.inventoryrollback.universalScheduler.UniversalRunnable.runTaskTimer(UniversalRunnable.java:111) ~[InventoryRollb
ackPlus-1.6.10.jar:?]
        at me.danjono.inventoryrollback.gui.menu.MainInventoryBackupMenu.showBackupItems(MainInventoryBackupMenu.java:107) ~[InventoryRollbackPlus-1.6.1
0.jar:?]
        at me.danjono.inventoryrollback.listeners.ClickGUI$1.run(ClickGUI.java:227) ~[InventoryRollbackPlus-1.6.10.jar:?]
        at com.nuclyon.technicallycoded.inventoryrollback.universalScheduler.foliaScheduler.FoliaScheduler.lambda$runTaskAsynchronously$12(FoliaSchedule
r.java:125) ~[InventoryRollbackPlus-1.6.10.jar:?]
        at io.papermc.paper.threadedregions.scheduler.FoliaAsyncScheduler$AsyncScheduledTask.run(FoliaAsyncScheduler.java:216) ~[folia-1.20.1.jar:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]

using latest commit db74e79