Skip to content

Commit

Permalink
Added temporary no-op fields for item/planet hidden items
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuken committed Aug 22, 2024
1 parent f888b3b commit 587c236
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/mindustry/type/Item.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ public class Item extends UnlockableContent implements Senseable{
public boolean buildable = true;
public boolean hidden = false;

/** @deprecated no-op, do not use. */
@Deprecated
public @Nullable Planet[] hiddenOnPlanets;

public Item(String name, Color color){
super(name);
this.color = color;
Expand Down
5 changes: 5 additions & 0 deletions core/src/mindustry/type/Planet.java
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ public class Planet extends UnlockableContent{
/** Loads the planet grid outline mesh. Clientside only. */
public Prov<Mesh> gridMeshLoader = () -> MeshBuilder.buildPlanetGrid(grid, outlineColor, outlineRad * radius);

/** @deprecated no-op, do not use. */
@Deprecated
public Seq<Item> itemWhitelist = new Seq<>(), hiddenItems = new Seq<>();


public Planet(String name, Planet parent, float radius){
super(name);

Expand Down

0 comments on commit 587c236

Please sign in to comment.