mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-30 07:27:29 +02:00
Add ladder to blocks that are ignored by passable by default (not by
config).
This commit is contained in:
parent
cfc9f32387
commit
e6e9cb9805
@ -22,7 +22,7 @@ import org.bukkit.Material;
|
||||
public class DefaultConfig extends ConfigFile {
|
||||
|
||||
/** NCP build needed for this config. */
|
||||
public static final int buildNumber = 164;
|
||||
public static final int buildNumber = 169;
|
||||
|
||||
/**
|
||||
* Instantiates a new default configuration.
|
||||
@ -434,8 +434,7 @@ public class DefaultConfig extends ConfigFile {
|
||||
set(ConfPaths.COMPATIBILITY_BLOCKS + ConfPaths.SUB_IGNOREPASSABLE, Arrays.asList(
|
||||
Material.WOODEN_DOOR.name(), Material.IRON_DOOR_BLOCK.name(),
|
||||
Material.PISTON_EXTENSION.name(),
|
||||
Material.PISTON_MOVING_PIECE.name(), // TODO: ?
|
||||
Material.LADDER.name()
|
||||
Material.PISTON_MOVING_PIECE.name() // TODO: ?
|
||||
));
|
||||
|
||||
// Update internal factory based on all the new entries to the "actions" section.
|
||||
|
@ -355,6 +355,7 @@ public class BlockProperties {
|
||||
Material.WOOD_PLATE, Material.STONE_PLATE,
|
||||
Material.WALL_SIGN, Material.SIGN_POST,
|
||||
Material.DIODE_BLOCK_ON, Material.DIODE_BLOCK_OFF,
|
||||
Material.LADDER,
|
||||
}){
|
||||
blockFlags[mat.getId()] |= F_IGN_PASSABLE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user