- Fixed spaces in item names (Note: they are now ignored: <Natura:Rare Leaves> and <Natura:RareLeaves> are considered the same)

- Fixed block info command in 1.6.4 and 1.7.2
This commit is contained in:
Stan Hebben committed 2014-08-10 22:08:43 +02:00
1 parent dfceec1fd4
commit c67ad22270
10 files changed
+118 -24

No files matched your search

@@ -89,11 +89,13 @@ public class MineTweakerImplementationAPI {
try {
displayName = " -- " + item.makeStack(0).getDisplayName();
} catch (Exception ex) {
} catch (Throwable ex) {
// some mods (such as buildcraft) may throw exceptions when calling
// getDisplayName on an item stack that doesn't contain valid NBT data
// also seems to cause errors in some other cases too
displayName = " -- Name could not be retrieved due to an error: " + ex;
}
MineTweakerAPI.logCommand("<" + item.getId() + ">" + displayName);
}