New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR] [Sponge]: Error occurred while executing command 'daycare' #2
Comments
Your equation is off, likely a variable is incorrect. For instance, a p might need to be a y |
maybe you would have the commands like the permissions for me |
What? |
if i wrote /daycare in chat then this notice come (see image above) |
Yes, the equation used to calculate pen prices is broken, likely due to a variable being incorrect. Until that is fixed, the plugin will likely continue to run into this issue. This is in your config btw, it’s a change you need to make. |
I need the permissions to assign them to the groups and the commands for the chat to work with the mod at all |
oky |
You can either set an NPC as a window to open the daycare, or you can give them daycare.commands.daycare.base to allow them to do /daycare |
The players should make the menu on the NPC and VIP should be able to use the Command as a "bonus". |
/daycare admin setnpc (npc name) |
daycare.commands.daycare.base /daycare Is it correct that way? |
That’s the permission they need to open the daycare via command |
/daycare admin setnpc jojo |
if I use the command I still get an error message /daycare Error occurred while executing command 'daycare |
https://prnt.sc/kj19qi |
https://prnt.sc/kj596j
|
hello |
[Server thread/ERROR] [Sponge]: Error occurred while executing command 'daycare' for source EntityPlayerMP['XXXXJOJOXXXX'/472, l='world', x=-2866,78, y=74,62, z=-963,61]: Infinite or NaN
java.lang.NumberFormatException: Infinite or NaN
at java.math.BigDecimal.(Unknown Source) ~[?:1.8.0_171]
at java.math.BigDecimal.(Unknown Source) ~[?:1.8.0_171]
at com.nickimpact.daycare.ui.RanchUI.drawPen(RanchUI.java:126) ~[RanchUI.class:?]
at com.nickimpact.daycare.ui.RanchUI.drawPens(RanchUI.java:84) ~[RanchUI.class:?]
at com.nickimpact.daycare.ui.RanchUI.setupDisplay(RanchUI.java:69) ~[RanchUI.class:?]
at com.nickimpact.daycare.ui.RanchUI.(RanchUI.java:57) ~[RanchUI.class:?]
at com.nickimpact.daycare.commands.DaycareCmd.execute(DaycareCmd.java:56) ~[DaycareCmd.class:?]
at org.spongepowered.api.command.args.ChildCommandElementExecutor.execute(ChildCommandElementExecutor.java:250) ~[ChildCommandElementExecutor.class:1.12.2-2705-7.1.0-BETA-3364]
at org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:388) ~[CommandSpec.class:1.12.2-2705-7.1.0-BETA-3364]
at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:341) ~[SimpleDispatcher.class:1.12.2-2705-7.1.0-BETA-3364]
at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:329) [SpongeCommandManager.class:1.12.2-2705-7.1.0-BETA-3364]
at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:1083) [dh.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:958) [pa.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:937) [pa.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37) [la.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9) [la.class:?]
at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:92) [PacketUtil.class:1.12.2-2705-7.1.0-BETA-3364]
at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$zle000(SourceFile:539) [hv$1.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [hv$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_171]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_171]
at net.minecraft.util.Util.func_181617_a(SourceFile:46) [h.class:?]
at org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:293) [SpongeImplHooks.class:1.12.2-2705-7.1.0-BETA-3364]
at net.minecraft.server.MinecraftServer.redirect$onRun$zjj000(MinecraftServer.java:3963) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:396) [nz.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_171]
hey could you possibly post the permissions like the commands please
I think your project is super cool, it will also translate into German.
The text was updated successfully, but these errors were encountered: