We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fe345b commit 0b3665eCopy full SHA for 0b3665e
src/main/java/de/pascalpex/pexnpc/commands/subcommands/TpSubcommand.java
@@ -24,7 +24,6 @@ public int run(CommandContext<CommandSourceStack> context) {
24
player.setGameMode(GameMode.SPECTATOR);
25
}
26
if (executor != null) {
27
- executor.teleport(npc.getLocation());
28
executor.teleportAsync(npc.getLocation()).thenAccept(success -> {
29
if (success) {
30
if (executor instanceof Player player) {
0 commit comments