mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 11:49:37 +00:00
Made luminizers quieter
This commit is contained in:
1 parent
d8415a8282
commit
dfcaddab3c
1 file changed
+1
-4
@@ -209,7 +209,7 @@ public class TileLightRelay extends TileMod implements IWandBindable {
|
||||
|
||||
boolean isItem = riddenByEntity instanceof EntityItem;
|
||||
if(!isItem && ticksExisted % 30 == 0)
|
||||
worldObj.playSoundAtEntity(this, "botania:lightRelay", 0.2F, (float) Math.random() * 0.3F + 0.7F);
|
||||
worldObj.playSoundAtEntity(this, "botania:lightRelay", 0.05F, (float) Math.random() * 0.3F + 0.7F);
|
||||
|
||||
int exitX = getExitX();
|
||||
int exitY = getExitY();
|
||||
@@ -221,9 +221,6 @@ public class TileLightRelay extends TileMod implements IWandBindable {
|
||||
if(x == exitX && y == exitY && z == exitZ) {
|
||||
TileEntity tile = worldObj.getTileEntity(x, y, z);
|
||||
if(tile != null && tile instanceof TileLightRelay) {
|
||||
if(!isItem)
|
||||
worldObj.playSoundAtEntity(this, "random.orb", 0.2F, (float) Math.random() * 0.3F + 0.7F);
|
||||
|
||||
int meta = worldObj.getBlockMetadata(x, y, z);
|
||||
if(meta > 0) {
|
||||
worldObj.setBlockMetadataWithNotify(x, y, z, meta | 8, 1 | 2);
|
||||
|
||||
Reference in new issue
Block a user