Fixed: Wooden buttons (id 143) not rotating. Fixes mcedit/mcedit#278

This commit is contained in:
David Vierra 2013-02-01 22:35:50 -10:00
parent b0fd34df32
commit 1674f6f055
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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]