Fixes mouse handling for right-clicks to clear the search box and middle-click for crafting. (#4505)

This commit is contained in:
shartte
2020-07-26 16:30:53 +02:00
committed by GitHub
parent 774f88ee90
commit 59e40ccbd9
4 changed files with 21 additions and 28 deletions
@@ -46,6 +46,8 @@ public class ChunkLoaderTileEntity extends AEBaseTileEntity implements ITickable
@Override
public void remove() {
super.remove();
World world = getWorld();
if (world instanceof ServerWorld) {
ChunkPos chunkPos = new ChunkPos(getPos());