Permalink
Browse files

2.3.1 - minor change

  • Loading branch information...
jimnordb committed Apr 26, 2014
1 parent a28d9ae commit 725ae9b5689dced4fb6352dad698a0f1b821a470
Showing with 7 additions and 6 deletions.
  1. +7 −6 src/main/java/mods/recipear/RecipearCommand.java
@@ -2,6 +2,8 @@
import java.util.List;
import org.apache.commons.lang3.StringUtils;
import mods.recipear.api.RecipearEvent;
import net.minecraft.command.CommandBase;
import net.minecraft.command.ICommand;
@@ -86,13 +88,12 @@ else if((astring.length > 0) && (astring[0].equals("output")))
}
else if((astring.length > 0) && (astring[0].equals("types")))
{
String supported_types = "Supported Recipe Types are";
for(String type : BannedRecipes.getBannedRecipeTypes()) {
supported_types += " " + type;
}
String text = "Supported Recipear2 Types: ";
text += StringUtils.join(BannedRecipes.getBannedRecipeTypes(), ", ");
text += ".";
notifyAdmins(sender, supported_types, new Object[] {sender.getCommandSenderName()});
notifyAdmins(sender, text, new Object[] {sender.getCommandSenderName()});
}
else
{

0 comments on commit 725ae9b

Please sign in to comment.