Advertisement
Guest User

Untitled

a guest
Aug 13th, 2018
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
q/kdb+ 0.25 KB | None | 0 0
  1.            if(!player.capabilities.isCreativeMode) {
  2.                if(event.entity.worldObj.rand.nextFloat() <= 0.7F)
  3.               {
  4.                   player.addPotionEffect(new PotionEffect(Potion.poison.id, 900, 2, true));
  5.               }
  6.            }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement