Tech Reborn

Tech Reborn

30M Downloads

Crash when using wrench on generator

BigBear0812 opened this issue ยท 2 comments

commented

Hello, I found that my game crashes when I try to use the wrench to either rotate or disassemble a generator. I was wondering if this is a known bug with the Minecraft 1.14.4 fabric version or am I missing something.

Crash Report

TechReborn-1.14.4-3.0.4.108
RebornCore-1.14.4-4.0.5.109
Fabric Loader 0.4.8_build.159

commented

I'm not a helper or anything, but to disassemble, just break with a pickaxe

commented

This is an error by casting the client player to server player.

public boolean handleTool(ItemStack stack, BlockPos pos, World world, PlayerEntity player, Direction side, boolean damage) {
should check !world.isClient()