From 763ac8deb22b3f83304f03b30f64779623979d93 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Mon, 30 May 2022 12:59:09 +0200 Subject: [PATCH] Rebuild Signed-off-by: yoyosource --- .../steamwar/bausystem/features/util/BookReplaceCommand.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/util/BookReplaceCommand.java b/BauSystem_Main/src/de/steamwar/bausystem/features/util/BookReplaceCommand.java index 324f15af..34a06d2a 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/util/BookReplaceCommand.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/util/BookReplaceCommand.java @@ -44,8 +44,7 @@ public class BookReplaceCommand extends SWCommand { private void replace(BookMeta bookMeta, char oldChar, char newChar) { List stringList = bookMeta.getPages(); for (int i = 0; i < stringList.size(); i++) { - String string = stringList.get(i); - bookMeta.setPage(i + 1, string.replace(oldChar, newChar)); + bookMeta.setPage(i + 1, stringList.get(i).replace(oldChar, newChar)); } } }