mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 19:39:24 +01:00
Made config optioin for less laser particles make more sense
This commit is contained in:
parent
2453fe2477
commit
99a786e496
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ public class TileEntityLaserRelay extends TileEntityBase implements IEnergyRecei
|
|||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void renderParticles(){
|
||||
if(Util.RANDOM.nextInt(8) == 0){
|
||||
if(Util.RANDOM.nextInt(ConfigBoolValues.LESS_LASER_RELAY_PARTICLES.isEnabled() ? 15 : 8) == 0){
|
||||
Position thisPos = new Position(this.xCoord, this.yCoord, this.zCoord);
|
||||
LaserRelayConnectionHandler.Network network = LaserRelayConnectionHandler.getInstance().getNetworkFor(thisPos);
|
||||
if(network != null){
|
||||
|
|
Loading…
Reference in a new issue