mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-01-21 00:21:20 +01:00
Fixed libreforge
This commit is contained in:
parent
faea9b9589
commit
7dea3e11ba
@ -8,6 +8,7 @@ import com.willfp.eco.core.events.ArmorEquipEvent;
|
||||
import com.willfp.eco.core.events.PlayerJumpEvent;
|
||||
import com.willfp.eco.core.integrations.antigrief.AntigriefManager;
|
||||
import com.willfp.eco.core.integrations.mcmmo.McmmoManager;
|
||||
import com.willfp.eco.util.PlayerUtils;
|
||||
import com.willfp.ecoenchants.EcoEnchantsPlugin;
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
||||
@ -733,7 +734,7 @@ public class WatcherTriggers extends PluginDependent<EcoPlugin> implements Liste
|
||||
return;
|
||||
}
|
||||
|
||||
LivingEntity attacker = LibReforgeUtils.tryAsPlayer(event.getDamager());
|
||||
LivingEntity attacker = PlayerUtils.tryAsPlayer(event.getDamager());
|
||||
|
||||
if (attacker == null) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user