Merge pull request #3030 from sk7725/patch-21

remove final from item.color (and liquid too)
This commit is contained in:
Anuken 2020-10-19 12:20:14 -04:00 committed by GitHub
commit ef0376371d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import mindustry.world.meta.*;
import static mindustry.Vars.*; import static mindustry.Vars.*;
public class Item extends UnlockableContent{ public class Item extends UnlockableContent{
public final Color color; public Color color;
/** how explosive this item is. */ /** how explosive this item is. */
public float explosiveness = 0f; public float explosiveness = 0f;

View File

@ -8,7 +8,7 @@ import mindustry.world.meta.*;
public class Liquid extends UnlockableContent{ public class Liquid extends UnlockableContent{
/** Color used in pipes and on the ground. */ /** Color used in pipes and on the ground. */
public final Color color; public Color color;
/** Color used in bars. */ /** Color used in bars. */
public @Nullable Color barColor; public @Nullable Color barColor;
/** Color used to draw lights. Note that the alpha channel is used to dictate brightness. */ /** Color used to draw lights. Note that the alpha channel is used to dictate brightness. */