FallenMoonNetwork / CanaryMod

Server administration mod and API for Minecraft beta multiplayer server
http://canarymod.net
GNU Lesser General Public License v3.0
20 stars 14 forks source link

Command Block makes error #84

Closed ghost closed 11 years ago

ghost commented 11 years ago

Error: java.lang.NoSuchFieldError: c at OCommandWeather.b(SourceFile:33) at OCommandHandler.a(SourceFile:48) at OTileEntityCommandBlock.a(OTileEntityCommandBlock.java:20) at OBlockCommandBlock.b(SourceFile:44) at OWorldServer.a(OWorldServer.java:362) at OWorldServer.b(OWorldServer.java:93) at OMinecraftServer.r(OMinecraftServer.java:447) at ODedicatedServer.r(SourceFile:248) at OMinecraftServer.q(OMinecraftServer.java:384) at OMinecraftServer.run(OMinecraftServer.java:323) at OThreadMinecraftServer.run(SourceFile:849)

gregcarlin commented 11 years ago

Are you using the correct versions of everything?

ghost commented 11 years ago

Yes i have setup a new server

gregcarlin commented 11 years ago

Yeah, it looks to me as if you might be using an outdated minecraft_servero.jar, as we don't modify OCommandWeather and the latest minecraft_servero doesn't access any field 'c' on line 33.

gregcarlin commented 11 years ago

Wait, nevermind.

14mRh4X0r commented 11 years ago

The underlying problem is that canary commands don't get called from the command handler, but from the places where the command handler is being called. This is also the reason why Canary console commands don't work on command blocks.

WWOL commented 11 years ago

Anyone fell like doing a rewrite of the command handler though? I don't.

WWOL

14mRh4X0r commented 11 years ago

I do, that's why I assigned myself :wink:

WWOL commented 11 years ago

Great, good luck. Glad it's not me. :P

WWOL

14mRh4X0r commented 11 years ago

This should be fixed with the last push (abd0c5d).