Remove unneeded teleportation in clans hubs
This commit is contained in:
parent
ba02dea404
commit
8397f53d39
@ -176,16 +176,6 @@ public class HubManager extends MiniPlugin
|
||||
_portal = portal;
|
||||
|
||||
_spawn = new Location(UtilWorld.getWorld("world"), 0.5, 179, 0.5, -90f, 0f);
|
||||
runSyncLater(() ->
|
||||
{
|
||||
for (Entity e : _spawn.getWorld().getEntities())
|
||||
{
|
||||
if (npcManager.getNpcByEntity(e) != null)
|
||||
{
|
||||
e.teleport(new Location(e.getWorld(), e.getLocation().getX(), e.getLocation().getY(), e.getLocation().getZ(), 90f, 0f));
|
||||
}
|
||||
}
|
||||
}, 120L);
|
||||
((CraftWorld) _spawn.getWorld()).getHandle().spigotConfig.itemMerge = 0;
|
||||
|
||||
new WorldManager(this);
|
||||
|
Loading…
Reference in New Issue
Block a user