mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-22 15:05:18 +01:00
Fixed forcefield saving silverfish instead of endermites
This commit is contained in:
parent
2cc6544e53
commit
19550dc800
@ -7,10 +7,10 @@ import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
||||
import com.willfp.ecoenchants.enchantments.meta.EnchantmentType;
|
||||
import com.willfp.ecoenchants.enchantments.util.EnchantChecks;
|
||||
import com.willfp.ecoenchants.enchantments.util.TimedRunnable;
|
||||
import org.bukkit.entity.Endermite;
|
||||
import org.bukkit.entity.Entity;
|
||||
import org.bukkit.entity.Monster;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.entity.Silverfish;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.player.PlayerJoinEvent;
|
||||
import org.bukkit.event.player.PlayerQuitEvent;
|
||||
@ -75,7 +75,7 @@ public class Forcefield extends EcoEnchant implements TimedRunnable {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (e instanceof Silverfish) {
|
||||
if (e instanceof Endermite) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user