Fixed rebounding

This commit is contained in:
Auxilor 2021-04-09 01:39:38 +01:00
parent 7e5666f982
commit 4d604fef76

View File

@ -35,7 +35,7 @@ public class Rebounding extends EcoEnchant {
LivingEntity victim = (LivingEntity) event.getEntity();
LivingEntity attacker = (LivingEntity) event.getDamager();
int level = EnchantChecks.getArmorPoints(attacker, this);
int level = EnchantChecks.getArmorPoints(victim, this);
if (level == 0) {
return;