summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/EnchantmentModifierProtection.java
blob: 4b1ec519d75603d84398317bac89c5bea9dd52bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package net.minecraft.server;

final class EnchantmentModifierProtection implements EnchantmentModifier {

    public int a;
    public DamageSource b;

    private EnchantmentModifierProtection() {}

    public void a(Enchantment enchantment, int i) {
        this.a += enchantment.a(i, this.b);
    }

    EnchantmentModifierProtection(EmptyClass3 emptyclass3) {
        this();
    }
}