Skip to content

Commit

Permalink
Fix default /profile e to actually profile in all worlds.
Browse files Browse the repository at this point in the history
Signed-off-by: Ross Allan <rallanpcl@gmail.com>
  • Loading branch information
LunNova committed May 29, 2013
1 parent f350c5d commit df27c75
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -46,7 +46,7 @@ public void processCommand(final ICommandSender commandSender, List<String> argu
}
if (arguments.size() > 2) {
world = DimensionManager.getWorld(Integer.valueOf(arguments.get(2)));
} else if (commandSender instanceof Entity) {
} else if (location && commandSender instanceof Entity) {
world = ((Entity) commandSender).worldObj;
}
if (location && x == null) {
Expand Down

0 comments on commit df27c75

Please sign in to comment.