mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-26 15:03:03 +00:00
api compiles, bump version
This commit is contained in:
11 files changed
+20
-25
No files matched your search
@@ -53,10 +53,10 @@ public class SimpleWikiProvider implements IWikiProvider {
|
||||
|
||||
ItemStack stack = state.getBlock().getPickBlock(state, pos, world, bPos, player);
|
||||
|
||||
if(stack == null || stack.getItem() == null)
|
||||
if(stack.isEmpty())
|
||||
stack = new ItemStack(state.getBlock(), 1, state.getBlock().damageDropped(state));
|
||||
|
||||
if(stack.getItem() == null)
|
||||
if(stack.isEmpty())
|
||||
return null;
|
||||
|
||||
String name = stack.getDisplayName();
|
||||
|
||||
Reference in new issue
Block a user