Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (player.getActivePotionEffect(BioWarfare.InvertedVision) != null && player.getActivePotionEffect(BioWarfare.InvertedVision).getDuration() != 1) {
- if (event.entityLiving.worldObj.rand.nextInt(20) == 0){
- if (player.worldObj.isRemote) {
- BioWarfare.Proxy.flip(random, player);
- }
- }
- }
- if (player.getActivePotionEffect(BioWarfare.InvertedVision) != null && player.getActivePotionEffect(BioWarfare.InvertedVision).getDuration() == 1){
- if (player.worldObj.isRemote) {
- BioWarfare.Proxy.noCurrentShader(random, player);
- }
- }
- if (player.getActivePotionEffect(BioWarfare.BlurredVision) != null && player.getActivePotionEffect(BioWarfare.BlurredVision).getDuration() != 1) {
- if (event.entityLiving.worldObj.rand.nextInt(20) == 0){
- if (player.worldObj.isRemote) {
- BioWarfare.Proxy.Phosphor(random, player);
- }
- }
- }
- if (player.getActivePotionEffect(BioWarfare.BlurredVision) != null && player.getActivePotionEffect(BioWarfare.BlurredVision).getDuration() == 1){
- if (player.worldObj.isRemote) {
- BioWarfare.Proxy.noCurrentShader(null, null);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement