This change sets the block state during onBlockPlacedBy to properly reflect Direction and Facing.
Also changes breaker.setMetaData(getMetaFromState(state)) to breaker.setMetadata(facing.getIndex()) because state is the state passed to onBlockPlacedBy without taking into consideration the player's facing.
This change sets the block state during onBlockPlacedBy to properly reflect Direction and Facing.
Also changes
breaker.setMetaData(getMetaFromState(state))
tobreaker.setMetadata(facing.getIndex())
becausestate
is the state passed to onBlockPlacedBy without taking into consideration the player's facing.Fixes #3