Skip to content

Commit 556aa24

Browse files
committed
Don't print command help when invalid worlds are provided.
1 parent 3c9a029 commit 556aa24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/evilmidget38/structuresaver/StructureSaver.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public boolean onCommand(CommandSender sender, Command command, String label, St
137137
World world = getServer().getWorld(worldName);
138138
if (world == null) {
139139
sender.sendMessage(ChatColor.RED+"Unable to find world '"+worldName+"'.");
140-
return false;
140+
return true;
141141
}
142142
sender.sendMessage(ChatColor.YELLOW+"Saving structures for '"+worldName+"'. See your console for details.");
143143
if (force) {

0 commit comments

Comments
 (0)