From bde5534f50698d0dd2ed9691dd3023ee4297f38a Mon Sep 17 00:00:00 2001 From: Scoppio Date: Sun, 17 Nov 2024 18:21:54 -0300 Subject: [PATCH] fix: removed a duplicated function --- megamek/src/megamek/common/loaders/BLKFile.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/megamek/src/megamek/common/loaders/BLKFile.java b/megamek/src/megamek/common/loaders/BLKFile.java index 6c0edd03db8..e29fa670d8c 100644 --- a/megamek/src/megamek/common/loaders/BLKFile.java +++ b/megamek/src/megamek/common/loaders/BLKFile.java @@ -1180,11 +1180,6 @@ public static void encode(File file, Entity t) throws EntitySavingException { blk.writeBlockFile(file); } - public static void encode(File file, Entity t) throws EntitySavingException { - BuildingBlock blk = BLKFile.getBlock(t); - blk.writeBlockFile(file); - } - protected void addTransports(Entity e) throws EntityLoadingException { if (dataFile.containsData("transporters")) { String[] transporters = dataFile.getDataAsString("transporters");