Merge branch 'main' into release-actions

This commit is contained in:
Ben Woo 2023-08-21 23:26:04 +08:00 committed by GitHub
commit 4f5b4126f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,7 +170,7 @@ public class MVPlayerListener implements Listener {
return; return;
} }
Player teleportee = event.getPlayer(); Player teleportee = event.getPlayer();
CommandSender teleporter = null; CommandSender teleporter = teleportee;
String teleporterName = MultiverseCore.getPlayerTeleporter(teleportee.getName()); String teleporterName = MultiverseCore.getPlayerTeleporter(teleportee.getName());
if (teleporterName != null) { if (teleporterName != null) {
if (teleporterName.equals("CONSOLE")) { if (teleporterName.equals("CONSOLE")) {