Fixed up AOBD to avoid exploting gregtech