mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-19 07:11:02 +00:00
Resolved #878: Certain values in settings are no longer ignored.
This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
package com.volmit.iris.engine.framework;
|
package com.volmit.iris.engine.framework;
|
||||||
|
|
||||||
import com.volmit.iris.Iris;
|
import com.volmit.iris.Iris;
|
||||||
|
import com.volmit.iris.core.IrisSettings;
|
||||||
import com.volmit.iris.engine.object.IrisBiome;
|
import com.volmit.iris.engine.object.IrisBiome;
|
||||||
import com.volmit.iris.engine.object.IrisEffect;
|
import com.volmit.iris.engine.object.IrisEffect;
|
||||||
import com.volmit.iris.engine.object.IrisRegion;
|
import com.volmit.iris.engine.object.IrisRegion;
|
||||||
@@ -48,6 +49,9 @@ public class EnginePlayer {
|
|||||||
public void tick() {
|
public void tick() {
|
||||||
sample();
|
sample();
|
||||||
|
|
||||||
|
if(!IrisSettings.get().getWorld().isEffectSystem())
|
||||||
|
return;
|
||||||
|
|
||||||
J.a(() -> {
|
J.a(() -> {
|
||||||
if(region != null) {
|
if(region != null) {
|
||||||
for(IrisEffect j : region.getEffects()) {
|
for(IrisEffect j : region.getEffects()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user