From b0a3e52aad28ff54f9c20515e9fced1534b3ffe1 Mon Sep 17 00:00:00 2001 From: Anuken Date: Fri, 11 Sep 2026 15:03:04 -0400 Subject: [PATCH] Removed deprecated fields/methods --- core/src/mindustry/game/MapMarkers.java | 10 +--------- core/src/mindustry/world/Block.java | 3 --- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/core/src/mindustry/game/MapMarkers.java b/core/src/mindustry/game/MapMarkers.java index 43e2fcae5b..e465818273 100644 --- a/core/src/mindustry/game/MapMarkers.java +++ b/core/src/mindustry/game/MapMarkers.java @@ -7,9 +7,8 @@ import mindustry.game.MapObjectives.*; import mindustry.io.*; import java.io.*; -import java.util.*; -public class MapMarkers implements Iterable{ +public class MapMarkers{ /** Maps marker unique ID to marker. */ private IntMap map = new IntMap<>(); @@ -111,11 +110,4 @@ public class MapMarkers implements Iterable{ markers.remove(index); } } - - /** @deprecated use the seq fields instead */ - @Deprecated - @Override - public Iterator iterator(){ - return worldMarkers.iterator(); - } } diff --git a/core/src/mindustry/world/Block.java b/core/src/mindustry/world/Block.java index 7562597351..d77871bdb2 100644 --- a/core/src/mindustry/world/Block.java +++ b/core/src/mindustry/world/Block.java @@ -173,9 +173,6 @@ public class Block extends UnlockableContent implements Senseable{ public boolean updateInUnits = true; /** if true, this block updates in payloads in units regardless of the experimental game rule */ public boolean alwaysUpdateInUnits = false; - /** @deprecated use allowedInPayloads instead */ - @Deprecated - public boolean canPickup = true; /** if false, only incinerable liquids are dropped when deconstructing; otherwise, all liquids are dropped. */ public boolean deconstructDropAllLiquid = false; /** Whether to use this block's color in the minimap. Only used for overlays. */