Experience Economy

Experience Economy

184 Downloads

Add Support for Fabric

jayofearth opened this issue ยท 0 comments

commented

Description

I love this extension and have it installed on a Fabric server. It works for the most part but some important commands return an internal error.

Is your feature request related to a problem? Please describe:

An error occurs when trying to run the pay command. The other general economy features work.

Ran command /pay {other-online-player-name} 20 and received the following error:
15.12 10:13:51 [Server] Server thread/ERROR null
15.12 10:13:51 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'pay' in plugin ExperienceEconomy v1.1.0
15.12 10:13:51 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[spigot-api-1.19.2-R0.1-SNAPSHOT.jar:?]
15.12 10:13:51 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[spigot-api-1.19.2-R0.1-SNAPSHOT.jar:?]
15.12 10:13:51 [Server] INFO at org.bukkit.craftbukkit.v1_19_R1.CraftServer.dispatchCommand(CraftServer.java:833) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3597-Spigot-4aa5ead-aaf484f]
15.12 10:13:51 [Server] INFO at org.bukkit.craftbukkit.v1_19_R1.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:50) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3597-Spigot-4aa5ead-aaf484f]
15.12 10:13:51 [Server] INFO at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:264) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:?]
15.12 10:13:51 [Server] INFO at net.minecraft.commands.CommandDispatcher.performCommand(CommandDispatcher.java:298) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3597-Spigot-4aa5ead-aaf484f]
15.12 10:13:51 [Server] INFO at net.minecraft.commands.CommandDispatcher.a(CommandDispatcher.java:282) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3597-Spigot-4aa5ead-aaf484f]
15.12 10:13:51 [Server] INFO at net.minecraft.server.network.PlayerConnection.b(PlayerConnection.java:1949) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3597-Spigot-4aa5ead-aaf484f]
15.12 10:13:51 [Server] INFO at net.minecraft.server.network.PlayerConnection.lambda$18(PlayerConnection.java:1914) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3597-Spigot-4aa5ead-aaf484f]
15.12 10:13:51 [Server] INFO at net.minecraft.util.thread.IAsyncTaskHandler.b(SourceFile:68) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3597-Spigot-4aa5ead-aaf484f]
15.12 10:13:51 [Server] INFO at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
15.12 10:13:51 [Server] INFO at net.minecraft.server.TickTask.run(SourceFile:18) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3597-Spigot-4aa5ead-aaf484f]
15.12 10:13:51 [Server] INFO at net.minecraft.util.thread.IAsyncTaskHandler.d(SourceFile:157) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3597-Spigot-4aa5ead-aaf484f]
15.12 10:13:51 [Server] INFO at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(SourceFile:23) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3597-Spigot-4aa5ead-aaf484f]
15.12 10:13:51 [Server] INFO at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1150) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3597-Spigot-4aa5ead-aaf484f]
15.12 10:13:51 [Server] INFO at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:1) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3597-Spigot-4aa5ead-aaf484f]
15.12 10:13:51 [Server] INFO at net.minecraft.util.thread.IAsyncTaskHandler.x(SourceFile:131) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3597-Spigot-4aa5ead-aaf484f]
15.12 10:13:51 [Server] INFO at net.minecraft.server.MinecraftServer.bh(MinecraftServer.java:1129) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3597-Spigot-4aa5ead-aaf484f]
15.12 10:13:51 [Server] INFO at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1122) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3597-Spigot-4aa5ead-aaf484f]
15.12 10:13:51 [Server] INFO at net.minecraft.util.thread.IAsyncTaskHandler.c(SourceFile:140) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3597-Spigot-4aa5ead-aaf484f]
15.12 10:13:51 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1106) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3597-Spigot-4aa5ead-aaf484f]
15.12 10:13:51 [Server] INFO at net.minecraft.server.MinecraftServer.v(MinecraftServer.java:1017) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3597-Spigot-4aa5ead-aaf484f]
15.12 10:13:51 [Server] INFO at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:293) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3597-Spigot-4aa5ead-aaf484f]
15.12 10:13:51 [Server] INFO at java.lang.Thread.run(Thread.java:833) [?:?]
15.12 10:13:51 [Server] INFO Caused by: java.lang.NoSuchMethodError: 'org.bukkit.OfflinePlayer org.bukkit.Bukkit.getOfflinePlayerIfCached(java.lang.String)'
15.12 10:13:51 [Server] INFO at dev.satyrn.xpeconomy.utils.Commands.getPlayer(Commands.java:76) ~[?:?]
15.12 10:13:51 [Server] INFO at dev.satyrn.xpeconomy.commands.PayCommandHandler.onCommand(PayCommandHandler.java:70) ~[?:?]
15.12 10:13:51 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[spigot-api-1.19.2-R0.1-SNAPSHOT.jar:?]
15.12 10:13:51 [Server] INFO ... 23 more

Describe your proposed solution:

New build for Fabric.

Why is this enhancement desirable?

Improve support for Multiverse, QuakeMod, and MobArena.

Describe any alternatives you've considered:

Changing to Paper/Forge is not desirable.