Skip to content

Commit 4fb149d

Browse files
committed
Added missing negation
1 parent b9427ca commit 4fb149d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

multiworld-bukkit/src/main/java/com/dev7ex/multiworld/listener/PlayerEnterPortalListener.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public PlayerEnterPortalListener(@NotNull final MultiWorldBukkitApi multiWorldAp
2626

2727
@EventHandler(priority = EventPriority.NORMAL)
2828
public void handlePlayerPortal(final PlayerPortalEvent event) {
29-
if (super.getConfiguration().isWorldLinkEnabled()) {
29+
if (!super.getConfiguration().isWorldLinkEnabled()) {
3030
return;
3131
}
3232

0 commit comments

Comments
 (0)