We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5fadd0 commit 58b8a1aCopy full SHA for 58b8a1a
src/main/java/ch/njol/skript/effects/EffToggle.java
@@ -108,15 +108,6 @@ protected void execute(final Event e) {
108
for (Block b : blocks.getArray(e)) {
109
int type = b.getTypeId();
110
111
- // Redstone lamps have separate block ids for off/on.
112
- if (type == Material.REDSTONE_LAMP_OFF.getId()) {
113
- b.setType(Material.REDSTONE_LAMP_ON);
114
- continue;
115
- } else if (type == Material.REDSTONE_LAMP_ON.getId()) {
116
- b.setType(Material.REDSTONE_LAMP_OFF);
117
118
- }
119
-
120
byte data = b.getData();
121
if (doors[type] == true && (data & 0x8) == 0x8) {
122
b = b.getRelative(BlockFace.DOWN);
0 commit comments