Merith-TK / cc-restitched-unmaintained

CC: Tweaked ported for Fabric 1.16.x
Other
10 stars 11 forks source link

Fix NPE when activating piston #80

Closed joecharamut closed 3 years ago

joecharamut commented 3 years ago

Fix #79 by adding a null check on entity.getWorld() in the addBlockEntity() mixin.

Merith-TK commented 3 years ago

Can you confirm this fixes it?

joecharamut commented 3 years ago

Pistons don't crash the game anymore, so it appears it does