Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(!player.capabilities.isCreativeMode) {
- if(event.entity.worldObj.rand.nextFloat() <= 0.7F)
- {
- player.addPotionEffect(new PotionEffect(Potion.poison.id, 900, 2, true));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement