From ad4a054a6385bfefd05ed1cfcb0c540028b60fdb Mon Sep 17 00:00:00 2001 From: Zeanon Date: Tue, 18 Apr 2023 11:46:58 +0200 Subject: [PATCH] Added new Buttons to Loader Detonator not nescessary since detection works differently --- .../steamwar/bausystem/features/loader/LoaderButton.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/loader/LoaderButton.java b/BauSystem_Main/src/de/steamwar/bausystem/features/loader/LoaderButton.java index e5e74171..6825a247 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/loader/LoaderButton.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/loader/LoaderButton.java @@ -46,6 +46,9 @@ public enum LoaderButton { switch (block.getType()) { case LEVER: return LoaderButton.SWITCH; + case CRIMSON_BUTTON: + case MANGROVE_BUTTON: + case WARPED_BUTTON: case ACACIA_BUTTON: case BIRCH_BUTTON: case DARK_OAK_BUTTON: @@ -53,8 +56,13 @@ public enum LoaderButton { case OAK_BUTTON: case SPRUCE_BUTTON: return LoaderButton.WOOD_BUTTON; + case POLISHED_BLACKSTONE_BUTTON: case STONE_BUTTON: return LoaderButton.STONE_BUTTON; + case CRIMSON_PRESSURE_PLATE: + case MANGROVE_PRESSURE_PLATE: + case WARPED_PRESSURE_PLATE: + // case POLISHED_BLACKSTONE_PRESSURE_PLATE: case ACACIA_PRESSURE_PLATE: case BIRCH_PRESSURE_PLATE: case DARK_OAK_PRESSURE_PLATE: