diff --git a/blockrotation.py b/blockrotation.py index cf4640a..338140d 100644 --- a/blockrotation.py +++ b/blockrotation.py @@ -285,7 +285,7 @@ rotationClasses.append(Lever) class Button: - blocktypes = [alphaMaterials.Button.ID] + blocktypes = [alphaMaterials.Button.ID, alphaMaterials.WoodButton.ID] PressedBit = 0x8 South = 1 North = 2 diff --git a/materials.py b/materials.py index 710360e..b72eb85 100644 --- a/materials.py +++ b/materials.py @@ -515,6 +515,8 @@ alphaMaterials.NetherBrickFence = alphaMaterials[113, 0] alphaMaterials.NetherBrickStairs = alphaMaterials[114, 0] alphaMaterials.NetherWart = alphaMaterials[115, 0] +alphaMaterials.WoodButton = alphaMaterials[143, 0] + # --- Classic static block defs --- classicMaterials.Stone = classicMaterials[1] classicMaterials.Grass = classicMaterials[2]