mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 11:19:19 +00:00
api compiles, bump version
This commit is contained in:
11 files changed
+20
-25
No files matched your search
@@ -694,7 +694,7 @@ public final class BotaniaAPI {
|
||||
}
|
||||
|
||||
private static String getMagnetKey(ItemStack stack) {
|
||||
if(stack == null)
|
||||
if(stack.isEmpty())
|
||||
return "";
|
||||
|
||||
return "i_" + stack.getItem().getUnlocalizedName() + "@" + stack.getItemDamage();
|
||||
|
||||
Reference in new issue
Block a user