Support red-sandstone slabs.
This commit is contained in:
parent
20378009f5
commit
afaa17bbd2
@ -483,6 +483,7 @@ public final class Itemcase {
|
|||||||
|
|
||||||
// If block is a slab.
|
// If block is a slab.
|
||||||
if(type == Material.STEP ||
|
if(type == Material.STEP ||
|
||||||
|
type != Material.STONE_SLAB2 ||
|
||||||
type == Material.WOOD_STEP ||
|
type == Material.WOOD_STEP ||
|
||||||
type == Material.PURPUR_SLAB) {
|
type == Material.PURPUR_SLAB) {
|
||||||
|
|
||||||
@ -576,6 +577,7 @@ public final class Itemcase {
|
|||||||
// If not a slab.
|
// If not a slab.
|
||||||
if(type != Material.STEP &&
|
if(type != Material.STEP &&
|
||||||
type != Material.WOOD_STEP &&
|
type != Material.WOOD_STEP &&
|
||||||
|
type != Material.STONE_SLAB2 &&
|
||||||
type != Material.PURPUR_SLAB) {
|
type != Material.PURPUR_SLAB) {
|
||||||
|
|
||||||
// Check if the block placed was 1 above an itemcase.
|
// Check if the block placed was 1 above an itemcase.
|
||||||
|
@ -26,5 +26,6 @@ Order:
|
|||||||
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
|
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
|
||||||
Materials:
|
Materials:
|
||||||
- 'STEP' # Slabs.
|
- 'STEP' # Slabs.
|
||||||
|
- 'STONE_SLAB2' # Red Sandstone Slabs.
|
||||||
- 'WOOD_STEP' # Wooden Slabs.
|
- 'WOOD_STEP' # Wooden Slabs.
|
||||||
- 'PURPUR_SLAB' # Purpur Slabs.
|
- 'PURPUR_SLAB' # Purpur Slabs.
|
Loading…
x
Reference in New Issue
Block a user