Fixed compile error with new effects system, update uCore
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
@@ -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{
|
||||||
|
|||||||
Reference in New Issue
Block a user