Tinkers' Mechworks

Tinkers' Mechworks

18M Downloads

Error on help command

Silwing opened this issue ยท 9 comments

commented

I get the following error when typing "help" in a server with Tinkers Mechworks for 1.7.10 installed. Version 0.2.8. Single player works fine, the error only occurres with a dedicated server.

[20:36:06] [Server thread/INFO]: An unknown error occurred while attempting to perform this command
[20:36:06] [Server thread/ERROR]: Couldn't process command: 'help'
java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.util.ComparableTimSort.mergeHi(Unknown Source) ~[?:1.7.0_10]
at java.util.ComparableTimSort.mergeAt(Unknown Source) ~[?:1.7.0_10]
at java.util.ComparableTimSort.mergeForceCollapse(Unknown Source) ~[?:1.7.0_10]
at java.util.ComparableTimSort.sort(Unknown Source) ~[?:1.7.0_10]
at java.util.ComparableTimSort.sort(Unknown Source) ~[?:1.7.0_10]
at java.util.Arrays.sort(Unknown Source) ~[?:1.7.0_10]
at java.util.Collections.sort(Unknown Source) ~[?:1.7.0_10]
at net.minecraft.command.CommandHelp.func_71534_d(SourceFile:84) ~[au.class:?]
at net.minecraft.command.CommandHelp.func_71515_b(SourceFile:38) ~[au.class:?]
at net.minecraft.command.CommandHandler.func_71556_a(CommandHandler.java:94) [z.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71333_ah(DedicatedServer.java:371) [lt.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:336) [lt.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer

commented

just had this same issue on my server and apparently i had my ram allocation too high because as soon as i lowered it it went back to normal

commented

Strange, because tinkers' mods do not add any commands.

However I have a fix in my mod, contact me if you want the fix. I will not plug my server admin mod here.

commented

Would this fix TMech or just the client, because you could make a pull to fix the issue in TMech, and therefore everyone's downloads.

commented

I dont know how TMech breaks it since there are no commands in TMech. So I cannot fix it with TMech. But I added the fix within the mod I am currently working on.

commented

Well, it's open-source, do a check around and see what happens. There is no dev, so pull requests are the only option atm.

commented

Anyone? it's really annoying.

commented

I'm not able to reproduce this with the dev dedicated server, did you guys test with only Mantel, TCon, and TMechworks?

commented

I'll try again soon and tell you [:

commented

Closing the issue, so no updates and couldn't reproduce the issue