graywolf336 / CasinoSlots

Animated, customizable, block-based slot machines, including audio, inside of Minecraft!
http://dev.bukkit.org/server-mods/casino-slots/
GNU General Public License v2.0
23 stars 22 forks source link

'NotImplementedException: Code is not implemented' on casino reload. #82

Closed mibby closed 7 years ago

mibby commented 7 years ago

CasinoSlots dev 64

[12:07:15] [Server thread/INFO]: player issued server command: /casino reload
[12:07:15] [Server thread/INFO]: [CasinoSlots] Reloading the configs.
[12:07:15] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'casino' in plugin CasinoSlots v3.0.0-SNAPSHOT-b64
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[patched_1.12.jar:git-Paper-1124]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:151) ~[patched_1.12.jar:git-Paper-1124]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:668) ~[patched_1.12.jar:git-Paper-1124]
    at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1424) ~[patched_1.12.jar:git-Paper-1124]
    at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1229) ~[patched_1.12.jar:git-Paper-1124]
    at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) ~[patched_1.12.jar:git-Paper-1124]
    at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[patched_1.12.jar:git-Paper-1124]
    at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14) ~[patched_1.12.jar:git-Paper-1124]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_131]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_131]
    at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [patched_1.12.jar:git-Paper-1124]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:842) [patched_1.12.jar:git-Paper-1124]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) [patched_1.12.jar:git-Paper-1124]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:766) [patched_1.12.jar:git-Paper-1124]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:664) [patched_1.12.jar:git-Paper-1124]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
Caused by: org.apache.commons.lang.NotImplementedException: Code is not implemented
    at com.craftyn.casinoslots.slot.TypeManager.reloadTypes(TypeManager.java:81) ~[?:?]
    at com.craftyn.casinoslots.command.CasinoReload.process(CasinoReload.java:33) ~[?:?]
    at com.craftyn.casinoslots.command.AnCommandExecutor.onCommand(AnCommandExecutor.java:26) ~[?:?]
    at com.craftyn.casinoslots.CasinoSlots.onCommand(CasinoSlots.java:203) ~[?:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[patched_1.12.jar:git-Paper-1124]
    ... 15 more
graywolf336 commented 7 years ago

Thanks for these reports, I've been looking through the current code and it seems like I started coding v3 and never finished it so there's lots of unfinished/incomplete code and features everywhere. Not this week but maybe next week I plan on setting down a few afternoons and planning out a design for the v3 to make it better and easily extensible.

mibby commented 7 years ago

Sure, no problem. The only thing I really need for the current v3 branch to be usable on production and begin testing is being able to use other slot types than 'testing'. :)

graywolf336 commented 7 years ago

Yeah, I just checked that code out....the types is nowhere near completed, doesn't load anything lol

graywolf336 commented 7 years ago

The reload piece has been implemented, or at least it won't throw the NotImplementedException

https://github.com/graywolf336/CasinoSlots/commit/d0e78966a578cb88440d1af5e1595f53a4e50a81