2011-11-27 01:39:25 +01:00
|
|
|
package net.minecraft.server;
|
|
|
|
|
2011-11-30 00:17:43 +01:00
|
|
|
final class EnchantmentModifierProtection implements EnchantmentModifier {
|
2011-11-27 01:39:25 +01:00
|
|
|
|
|
|
|
public int a;
|
|
|
|
public DamageSource b;
|
|
|
|
|
2011-11-30 00:17:43 +01:00
|
|
|
private EnchantmentModifierProtection() {}
|
2011-11-27 01:39:25 +01:00
|
|
|
|
|
|
|
public void a(Enchantment enchantment, int i) {
|
|
|
|
this.a += enchantment.a(i, this.b);
|
|
|
|
}
|
|
|
|
|
2011-11-30 00:17:43 +01:00
|
|
|
EnchantmentModifierProtection(EmptyClass3 emptyclass3) {
|
2011-11-27 01:39:25 +01:00
|
|
|
this();
|
|
|
|
}
|
|
|
|
}
|