mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-27 15:23:06 +00:00
Fixed more issues
This commit is contained in:
1 parent
e9562e37cb
commit
59b8ecc271
36 files changed
+1007
-978
No files matched your search
@@ -42,7 +42,6 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
|
||||
import net.minecraftforge.fml.common.gameevent.PlayerEvent.PlayerRespawnEvent;
|
||||
import net.minecraftforge.fml.common.registry.GameRegistry;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
import vazkii.botania.api.internal.IManaBurst;
|
||||
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
||||
import WayofTime.alchemicalWizardry.BloodMagicConfiguration;
|
||||
import WayofTime.alchemicalWizardry.api.alchemy.energy.Reagent;
|
||||
@@ -817,11 +816,11 @@ public class AlchemicalWizardryEventHooks
|
||||
@Optional.Method(modid = "Botania")
|
||||
private boolean isManaBurst(Entity entity)
|
||||
{
|
||||
if(entity instanceof IManaBurst) {
|
||||
ItemStack lens = ((IManaBurst)entity).getSourceLens();
|
||||
return !(lens.getItemDamage()!=8 && lens.getItemDamage()!=11);
|
||||
}
|
||||
else
|
||||
// if(entity instanceof IManaBurst) {
|
||||
// ItemStack lens = ((IManaBurst)entity).getSourceLens();
|
||||
// return !(lens.getItemDamage()!=8 && lens.getItemDamage()!=11);
|
||||
// }
|
||||
// else
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user