From b50723c11a34c0d7c0508a979d2394c7ced1999e Mon Sep 17 00:00:00 2001 From: Unknown Date: Sun, 17 Feb 2019 12:08:16 +0100 Subject: [PATCH] Fixed ship scanner sound category --- .../cr0s/warpdrive/block/building/TileEntityShipScanner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cr0s/warpdrive/block/building/TileEntityShipScanner.java b/src/main/java/cr0s/warpdrive/block/building/TileEntityShipScanner.java index a0716712..a80c1f72 100644 --- a/src/main/java/cr0s/warpdrive/block/building/TileEntityShipScanner.java +++ b/src/main/java/cr0s/warpdrive/block/building/TileEntityShipScanner.java @@ -155,7 +155,7 @@ public class TileEntityShipScanner extends TileEntityAbstractMachine implements final int randomY = shipCore.minY + world.rand.nextInt(shipCore.maxY - shipCore.minY + 1); final int randomZ = shipCore.minZ + world.rand.nextInt(shipCore.maxZ - shipCore.minZ + 1); - world.playSound(null, pos, SoundEvents.LASER_LOW, SoundCategory.HOSTILE, 4F, 1F); + world.playSound(null, pos, SoundEvents.LASER_LOW, SoundCategory.BLOCKS, 4F, 1F); final float r = world.rand.nextFloat() - world.rand.nextFloat(); final float g = world.rand.nextFloat() - world.rand.nextFloat(); final float b = world.rand.nextFloat() - world.rand.nextFloat();