mirror of
https://github.com/PaperMC/Paper.git
synced 2024-10-29 23:09:33 +01:00
18 lines
362 B
Java
18 lines
362 B
Java
|
package net.minecraft.server;
|
||
|
|
||
|
final class EnchantmentModifier1 implements EnchantmentModifier {
|
||
|
|
||
|
public int a;
|
||
|
public DamageSource b;
|
||
|
|
||
|
private EnchantmentModifier1() {}
|
||
|
|
||
|
public void a(Enchantment enchantment, int i) {
|
||
|
this.a += enchantment.a(i, this.b);
|
||
|
}
|
||
|
|
||
|
EnchantmentModifier1(EmptyClass3 emptyclass3) {
|
||
|
this();
|
||
|
}
|
||
|
}
|