mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-02 13:57:49 +01:00
Redstone repeaters are considered half-blocks now.
This commit is contained in:
parent
768a9fb9a1
commit
b3ebec3580
@ -1,12 +1,10 @@
|
||||
package cc.co.evenprime.bukkit.nocheat.checks;
|
||||
|
||||
import net.minecraft.server.Block;
|
||||
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.World;
|
||||
import org.bukkit.util.Vector;
|
||||
|
||||
import cc.co.evenprime.bukkit.nocheat.NoCheatPlayer;
|
||||
import cc.co.evenprime.bukkit.nocheat.data.PreciseLocation;
|
||||
|
||||
@ -141,6 +139,10 @@ public class CheckUtil {
|
||||
types[Material.WOODEN_DOOR.getId()] = SOLID | NONSOLID;
|
||||
types[Material.IRON_DOOR_BLOCK.getId()] = SOLID | NONSOLID;
|
||||
types[Material.TRAP_DOOR.getId()] = SOLID | NONSOLID;
|
||||
|
||||
// repeaters are technically half blocks
|
||||
types[Material.DIODE_BLOCK_OFF.getId()] = SOLID | NONSOLID;
|
||||
types[Material.DIODE_BLOCK_ON.getId()] = SOLID | NONSOLID;
|
||||
|
||||
// pressure plates are so slim, you can consider them
|
||||
// nonsolid too
|
||||
|
Loading…
Reference in New Issue
Block a user