Skip to content
Permalink
Browse files

Cancel all teleports.

  • Loading branch information...
bmhm committed Apr 5, 2016
1 parent 3da7d33 commit da9ccb45460625f50e2aa0ed8d357ec23ccfc3fd
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/de/bmarwell/bukkit/listener/PlayerTeleportListener.java
@@ -24,7 +24,7 @@

@EventHandler
public void onPlayerTeleport(PlayerTeleportEvent event) {
// TODO: do something!
event.setCancelled(true);
}

}

0 comments on commit da9ccb4

Please sign in to comment.
You can’t perform that action at this time.