Added slabs
This commit is contained in:
@@ -22,6 +22,8 @@ const (
|
||||
|
||||
Glass
|
||||
|
||||
Slab
|
||||
|
||||
Count
|
||||
)
|
||||
|
||||
@@ -45,7 +47,9 @@ func init() {
|
||||
|
||||
world.RegisterBlockBehaviour(13, world.BlockBehaviourStatic(world.BlockAppearance{Name: "glass", Transparent: true}))
|
||||
|
||||
if Count != 14 {
|
||||
world.RegisterBlockBehaviour(14, SlabBehaviour{})
|
||||
|
||||
if Count != 15 {
|
||||
panic("world.DefaultBlocks: block count not correct (check for block numbering in default_blocks.go)")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user