Removed needing a buffer chest for the new item routing ritual - working on a few odd quirks, however.

This commit is contained in:
WayofTime 2015-01-30 18:53:52 -05:00
parent 2888fcfe07
commit 539bb564fa
12 changed files with 437 additions and 188 deletions

View file

@ -685,8 +685,18 @@ public class AlchemicalWizardryEventHooks
}
@Optional.Method(modid = "Botania")
private boolean isManaBurst(Entity projectile)
private boolean isManaBurst(Entity entity)
{
return projectile instanceof IManaBurst;
if(entity instanceof IManaBurst) {
ItemStack lens = ((IManaBurst)entity).getSourceLens();
if(lens.getItemDamage()!=8 && lens.getItemDamage()!=11)
return false;
else
return true;
}
else
return false;
}
}