Open kratz74 opened 7 years ago
fix.zip Here is patch against 0.5.0b which works for me.
Looks like it was not expected in the code to recieve such an event on client side where EntityClientPlayerMP is used instead of EntityPlayerMP. Maybe this event can be ignored at all on client, but I did not have enough time to look into this code deeper. Please fix this ASAP because it's a show stopper.
I just banned Lumber Axe, because it causes a StackOverflow when cancelling break events (breaking a tree near a town)
I'm still using Lumber Axe in my modpack. I'm fixing all MyTown2 issues myself. Maybe I'll create my own MyTown2 fork with all those changesets to make them public. Or project owners can give me rights to push them here. It's up to them.
You could create, I'm fixing stuff too, would be cool for server owners.
https://github.com/kratz74/MyTown2 is my fork with few things fixed including this one.
Used MyTown2{1.7.10-0.5.0b} with lotr{Beta v29.6 for Minecraft 1.7.10} and TConstruct{1.7.10-1.8.8.build988}. Latest 1.7.10 versions of all those mods were used. An attempt to harvest whole tree using Lumber Axe (the big one) from TConstruct in LOTR world caused
to be thrown on client side. This exception kills client. This is not happening in vanilla worlds.