Skip to content

Commit b04511d

Browse files
committed
Don't do entry check when getting portal destination, let mvcore handle it
1 parent a4386c3 commit b04511d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/java/org/mvplugins/multiverse/netherportals/utils/MVLinkChecker.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ public Location findNewTeleportLocation(Location fromLocation, String worldStrin
2727

2828
if (tpTo == null) {
2929
Logging.fine("Can't find world " + worldString);
30-
} else if (e instanceof Player && !this.entryCheckerProvider.forSender(e).canEnterWorld(tpFrom, tpTo).isSuccess()) {
31-
Logging.warning("Player " + e.getName() + " can't enter world " + worldString);
3230
} else if (!this.worldManager.isLoadedWorld(fromLocation.getWorld())) {
3331
Logging.warning("World " + fromLocation.getWorld().getName() + " is not a Multiverse world");
3432
} else {

0 commit comments

Comments
 (0)