mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-29 16:15:17 +01:00
Fixed rebounding
This commit is contained in:
parent
7e5666f982
commit
4d604fef76
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user