Open SvEgiiVEteR opened 8 years ago
I take it some kind of block that mines for you?.. I'm guessing it follows the same coding as when a player mines, so it confuses the system, problem is I don't know what the actual function is (hasn't got a name). Did it happen when your stamina was low, or was it when you had bare hands, or was it on the first block?
@AnonymousProductions Stamina System.cfg B: "Affect Mining" = true And change it to: "Affect Mining" = false seems to me helped
looks like your mod do not like the filler as cleans territory))
Yeh I think its trying to apply stamina to the machine, even though the script ("onBreakEvent") is player only..
BuildCraft uses FML FakePlayer instances to check block protection when machines break/place blocks. It crashes trying to send a potion update packet using a null packet handler. Similar crashes happen when sending messages to a FakePlayer.
To fix it, the mod needs to test if its a FakePlayer class instance and skip adding stamina potion effect accordingly.
https://gist.github.com/ec4b02b9a661ca4cb1c0633cde9e39fd placed Filler, included. crash. very little mods crash: https://gist.github.com/cee45c03740cb9ef8a9f9d32c1fc8ff1