Support red-sandstone slabs.

This commit is contained in:
Jesse Prescott 2018-06-06 06:40:32 +01:00
parent 20378009f5
commit afaa17bbd2
2 changed files with 3 additions and 0 deletions

View File

@ -483,6 +483,7 @@ public final class Itemcase {
// If block is a slab.
if(type == Material.STEP ||
type != Material.STONE_SLAB2 ||
type == Material.WOOD_STEP ||
type == Material.PURPUR_SLAB) {
@ -576,6 +577,7 @@ public final class Itemcase {
// If not a slab.
if(type != Material.STEP &&
type != Material.WOOD_STEP &&
type != Material.STONE_SLAB2 &&
type != Material.PURPUR_SLAB) {
// Check if the block placed was 1 above an itemcase.

View File

@ -26,5 +26,6 @@ Order:
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
Materials:
- 'STEP' # Slabs.
- 'STONE_SLAB2' # Red Sandstone Slabs.
- 'WOOD_STEP' # Wooden Slabs.
- 'PURPUR_SLAB' # Purpur Slabs.