if (entity instanceof Monster || entity instanceof Golem || entity instanceof WaterMob)
{
plugin.getTeleportationManager().teleport(entity, this);
}
}
<BUG>if (hasFlag(FieldFlag.TELEPORT_VILLAGERS_ON_ENABLE))
</BUG>
{
if (entity instanceof Villager)
{

if (entity instanceof Monster || entity instanceof Golem || entity instanceof WaterMob)
{
plugin.getTeleportationManager().teleport(entity, this);
}
}
if (flags.hasFlag(FieldFlag.TELEPORT_VILLAGERS_ON_ENABLE))
{
if (entity instanceof Villager)
{
