mastercake10 / TimeIsMoney

Time Is Money - Bukkit plugin that pays out players for their online time!
GNU General Public License v3.0
43 stars 26 forks source link

Spigot 1.14 not giving money #35

Closed Totten98 closed 5 years ago

Totten98 commented 5 years ago

What steps will reproduce the issue?

  1. Setup the plugin
  2. Wait for the payday
  3. Error

What was supposed to happen?

Give the money to online players

What happened instead?

Error in console and no money to players

What version of TimeIsMoney are you using?

1.9.6.5

What Spigot version are you using? Paste the output of /version below.

This server is running CraftBukkit version git-Spigot-c8d4cef-907de3f (MC: 1.14) (Implementing API version 1.14-R0.1-SNAPSHOT)

What plugins do you have installed? Paste the output of /plugins below.

Plugins (14): LuckPerms, WorldEdit, ColoredNameTag, Vault, WorldGuard, ProtocolLib, Citizens, Essentials, EssentialsChat, EssentialsGeoIP, EssentialsAntiBuild, TimeIsMoney, EssentialsSpawn, EssentialsProtect

Are any errors related to TimeIsMoney in your console or logs? If so, paste below.

[Craft Scheduler Thread - 2/WARN]: [TimeIsMoney] Plugin TimeIsMoney v1.9.6.5 generated an exception while executing task 29
java.lang.IllegalStateException: UserBalanceUpdateEvent cannot be triggered asynchronously from another thread.
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502) ~[spigot.jar:git-Spigot-c8d4cef-907de3f]
        at com.earth2me.essentials.User.setMoney(User.java:429) ~[?:?]
        at com.earth2me.essentials.api.Economy.setMoney(Economy.java:147) ~[?:?]
        at com.earth2me.essentials.api.Economy.add(Economy.java:174) ~[?:?]
        at com.earth2me.essentials.api.Economy.add(Economy.java:166) ~[?:?]
        at net.milkbowl.vault.economy.plugins.Economy_Essentials.tryDepositPlayer(Economy_Essentials.java:149) ~[?:?]
        at net.milkbowl.vault.economy.plugins.Economy_Essentials.depositPlayer(Economy_Essentials.java:180) ~[?:?]
        at net.milkbowl.vault.economy.AbstractEconomy.depositPlayer(AbstractEconomy.java:50) ~[?:?]
        at de.Linus122.TimeIsMoney.Main.pay(Main.java:400) ~[?:?]
        at de.Linus122.TimeIsMoney.Main.lambda$onEnable$0(Main.java:166) ~[?:?]
        at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:81) ~[spigot.jar:git-Spigot-c8d4cef-907de3f]
        at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [spigot.jar:git-Spigot-c8d4cef-907de3f]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]

Any additional information that you would like to provide that may be relevant to the issue?

Hello, I don't know if it's a bug or is a problem on my side. Can you help me resolve this issue?

Thanks, Totten98.