Fixed: Wooden buttons (id 143) not rotating. Fixes mcedit/mcedit#278
This commit is contained in:
parent
b0fd34df32
commit
1674f6f055
@ -285,7 +285,7 @@ rotationClasses.append(Lever)
|
|||||||
|
|
||||||
|
|
||||||
class Button:
|
class Button:
|
||||||
blocktypes = [alphaMaterials.Button.ID]
|
blocktypes = [alphaMaterials.Button.ID, alphaMaterials.WoodButton.ID]
|
||||||
PressedBit = 0x8
|
PressedBit = 0x8
|
||||||
South = 1
|
South = 1
|
||||||
North = 2
|
North = 2
|
||||||
|
@ -515,6 +515,8 @@ alphaMaterials.NetherBrickFence = alphaMaterials[113, 0]
|
|||||||
alphaMaterials.NetherBrickStairs = alphaMaterials[114, 0]
|
alphaMaterials.NetherBrickStairs = alphaMaterials[114, 0]
|
||||||
alphaMaterials.NetherWart = alphaMaterials[115, 0]
|
alphaMaterials.NetherWart = alphaMaterials[115, 0]
|
||||||
|
|
||||||
|
alphaMaterials.WoodButton = alphaMaterials[143, 0]
|
||||||
|
|
||||||
# --- Classic static block defs ---
|
# --- Classic static block defs ---
|
||||||
classicMaterials.Stone = classicMaterials[1]
|
classicMaterials.Stone = classicMaterials[1]
|
||||||
classicMaterials.Grass = classicMaterials[2]
|
classicMaterials.Grass = classicMaterials[2]
|
||||||
|
Reference in New Issue
Block a user