Remove custom packet send to server for part placement since this is triggered again on the server automatically by forge.
This commit is contained in:
@@ -168,7 +168,7 @@ public final class ItemMultiPart extends AEBaseItem implements IPartItem, IItemG
|
||||
{
|
||||
if( this.getTypeByStack( is ) == PartType.InvalidType )
|
||||
{
|
||||
return EnumActionResult.PASS;
|
||||
return EnumActionResult.FAIL;
|
||||
}
|
||||
|
||||
return AEApi.instance().partHelper().placeBus( is, pos, side, player, hand, w );
|
||||
|
||||
@@ -399,7 +399,6 @@ public class PartPlacement
|
||||
else
|
||||
{
|
||||
player.swingArm( hand );
|
||||
NetworkHandler.instance.sendToServer( new PacketPartPlacement( pos, side, getEyeOffset( player ), hand ) );
|
||||
}
|
||||
return EnumActionResult.SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user