Magnalium plate is back. Closes #1109

This commit is contained in:
drcrazy 2017-08-31 03:02:00 +03:00
parent 3011546462
commit 46f9266197
6 changed files with 13 additions and 2 deletions

View file

@ -55,7 +55,7 @@ public class ItemPlates extends ItemTR {
for (int i = 0; i < types.length; i++) {
if (types[i].equalsIgnoreCase(name)) {
if (types[i].equals(ModItems.META_PLACEHOLDER)) {
throw new InvalidParameterException("The dust " + name + " could not be found.");
throw new InvalidParameterException("The plate " + name + " could not be found.");
}
return new ItemStack(ModItems.PLATES, count, i);
}