mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 19:29:31 +00:00
The potion effects brews (and the tainted blood pendant) create now have semi transparent particles smilarly to beacons.
This commit is contained in:
1 parent
615764e82d
commit
40a93ba481
2 files changed
+2
-2
No files matched your search
@@ -78,7 +78,7 @@ public abstract class ItemBrewBase extends ItemMod implements IBrewItem {
|
||||
public ItemStack onEaten(ItemStack stack, World world, EntityPlayer player) {
|
||||
if(!world.isRemote) {
|
||||
for(PotionEffect effect : getBrew(stack).getPotionEffects(stack)) {
|
||||
PotionEffect newEffect = new PotionEffect(effect);
|
||||
PotionEffect newEffect = new PotionEffect(effect.getPotionID(), effect.getDuration(), effect.getAmplifier(), true);
|
||||
player.addPotionEffect(newEffect);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user