bspkrs / Treecapitator

DaftPVF's Treecapitator mod for Minecraft. Chops down trees in a single blow. Requires bspkrsCore.
http://www.minecraftforum.net/topic/1009577-
42 stars 36 forks source link

Crash when felling tree in dev-env #25

Open fnuecke opened 10 years ago

fnuecke commented 10 years ago

Using the latest deobf builds ob bspkrsCore (6.14) and Treecapitator (2.0.3) I get a crash when trying to fell a tree in dev-env, crashlog.

What's probably more helpful is that the format string at that point is [DEBUG] BlockID minecraft:log, 0 % 4 is a log. with that sole % being what the formatter chokes on (originally initiated by this line of code, with the ModulusBlockID introducing that %).

Again, this happened in dev-env, probably does not apply to 'normal' MC, because the exception is thrown in a debug log call.

Edit: happens in normal MC with the config option allowDebugLogging=true, too.

bspkrs commented 10 years ago

I may have fixed this in the repo, I'll check on it though.