Fixed a bug where the quartz wrench stopped rotating blocks.
This commit is contained in:
@@ -32,7 +32,7 @@ public class ToolQuartzWrench extends AEBaseItem implements IAEWrench, IToolWren
|
|||||||
if ( b != null && !player.isSneaking() && Platform.hasPermissions( new DimensionalCoord( world, x, y, z ), player ) )
|
if ( b != null && !player.isSneaking() && Platform.hasPermissions( new DimensionalCoord( world, x, y, z ), player ) )
|
||||||
{
|
{
|
||||||
if ( Platform.isClient() )
|
if ( Platform.isClient() )
|
||||||
return true;
|
return !world.isRemote;
|
||||||
|
|
||||||
ForgeDirection mySide = ForgeDirection.getOrientation( side );
|
ForgeDirection mySide = ForgeDirection.getOrientation( side );
|
||||||
if ( b.rotateBlock( world, x, y, z, mySide ) )
|
if ( b.rotateBlock( world, x, y, z, mySide ) )
|
||||||
|
|||||||
Reference in New Issue
Block a user