Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Commit

Permalink
fix #48
Browse files Browse the repository at this point in the history
  • Loading branch information
Librazy committed Jun 9, 2018
1 parent e7fb8c5 commit 54d03ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public void onCommandPreProcess(PlayerCommandPreprocessEvent e) {
name = "home";
}
doSetHome(p, iu, curLoc, name);
} else if (cmd.equals("/back")) {
} else if (cmd.equals("/back") || cmd.startsWith("/back ")) {
e.setCancelled(true);
Location lastLoc = iu.getLastLocation();
if (lastLoc == null) {
Expand Down

0 comments on commit 54d03ef

Please sign in to comment.