mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 08:48:34 +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)
|
@SideOnly(Side.CLIENT)
|
||||||
public void renderParticles(){
|
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);
|
Position thisPos = new Position(this.xCoord, this.yCoord, this.zCoord);
|
||||||
LaserRelayConnectionHandler.Network network = LaserRelayConnectionHandler.getInstance().getNetworkFor(thisPos);
|
LaserRelayConnectionHandler.Network network = LaserRelayConnectionHandler.getInstance().getNetworkFor(thisPos);
|
||||||
if(network != null){
|
if(network != null){
|
||||||
|
|
Loading…
Reference in a new issue