SteamWar/BauSystem2.0
Archiviert
12
0

Hotfix Loadtimer
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2021-12-04 22:11:38 +01:00
Ursprung 5f70d4c7bc
Commit d936324b95

Datei anzeigen

@ -132,6 +132,9 @@ public class Loadtimer implements Listener {
if (stage == Stage.COUNTING) {
if (event.getAction() == Action.RIGHT_CLICK_BLOCK) {
Material type = event.getClickedBlock().getType();
if (type == Material.IRON_TRAPDOOR) {
return;
}
if (type.name().contains("_BUTTON") || type == Material.LEVER || type.name().contains("_TRAPDOOR") || type == Material.NOTE_BLOCK) {
setActivate();
}