mirror of
https://github.com/taoneill/war.git
synced 2024-11-13 05:54:31 +01:00
Cleared logging code.
This commit is contained in:
parent
0cf0024e55
commit
a532bbaf93
@ -57,7 +57,6 @@ public class PotionEffect {
|
||||
{
|
||||
MobEffect mobEffect = ((CraftPlayer)player).getHandle().getEffect(enchantIdToList(i));
|
||||
effects.add(new PotionEffect(mobEffect.getEffectId(), mobEffect.getAmplifier(), mobEffect.getDuration()));
|
||||
War.war.log("Stored " + mobEffect.getEffectId(), Level.INFO);
|
||||
}
|
||||
}
|
||||
|
||||
@ -68,7 +67,6 @@ public class PotionEffect {
|
||||
clearPotionEffects(player);
|
||||
for (PotionEffect effect : potionEffects) {
|
||||
((CraftPlayer)player).getHandle().addEffect(new MobEffect(effect.getId(), effect.getTime(), effect.getAmplifier()));
|
||||
War.war.log("Restored " + effect.getId(), Level.INFO);
|
||||
}
|
||||
}
|
||||
|
||||
@ -78,8 +76,6 @@ public class PotionEffect {
|
||||
{
|
||||
int amplifier = ((CraftPlayer)player).getHandle().getEffect(enchantIdToList(i)).getAmplifier();
|
||||
((CraftPlayer)player).getHandle().addEffect(new MobEffect(i, -1, amplifier + 1));
|
||||
|
||||
War.war.log("Cleared " + i, Level.INFO);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user