Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
5f70d4c7bc
Commit
d936324b95
@ -132,6 +132,9 @@ public class Loadtimer implements Listener {
|
|||||||
if (stage == Stage.COUNTING) {
|
if (stage == Stage.COUNTING) {
|
||||||
if (event.getAction() == Action.RIGHT_CLICK_BLOCK) {
|
if (event.getAction() == Action.RIGHT_CLICK_BLOCK) {
|
||||||
Material type = event.getClickedBlock().getType();
|
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) {
|
if (type.name().contains("_BUTTON") || type == Material.LEVER || type.name().contains("_TRAPDOOR") || type == Material.NOTE_BLOCK) {
|
||||||
setActivate();
|
setActivate();
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren