Fixed compile error with new effects system, update uCore

This commit is contained in:
Anuken
2018-04-25 20:55:20 -04:00
parent d960703a5c
commit 4b71b30418
2 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ allprojects {
appName = 'Mindustry' appName = 'Mindustry'
gdxVersion = '1.9.8' gdxVersion = '1.9.8'
aiVersion = '1.8.1' aiVersion = '1.8.1'
uCoreVersion = '848920b' uCoreVersion = 'dd5eb72'
getVersionString = { getVersionString = {
String buildVersion = getBuildVersion() String buildVersion = getBuildVersion()

View File

@@ -35,9 +35,9 @@ public class GroundEffectEntity extends EffectEntity {
GroundEffect effect = (GroundEffect)this.effect; GroundEffect effect = (GroundEffect)this.effect;
if(once && effect.isStatic) if(once && effect.isStatic)
Effects.renderEffect(id, effect, color, lifetime, rotation, x, y); Effects.renderEffect(id, effect, color, lifetime, rotation, x, y, data);
else if(!effect.isStatic) else if(!effect.isStatic)
Effects.renderEffect(id, effect, color, time, rotation, x, y); Effects.renderEffect(id, effect, color, time, rotation, x, y, data);
} }
public static class GroundEffect extends Effect{ public static class GroundEffect extends Effect{