Skip to content

Commit

Permalink
Being absolutely sure
Browse files Browse the repository at this point in the history
  • Loading branch information
WillFP committed Aug 7, 2021
1 parent 2241a5c commit f274b90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public static net.minecraft.server.v1_16_R3.ItemStack getNMSStack(@NotNull final
return nms == null ? CraftItemStack.asNMSCopy(itemStack) : nms;
} catch (ReflectiveOperationException e) {
e.printStackTrace();
return null;
return net.minecraft.server.v1_16_R3.ItemStack.b;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static net.minecraft.world.item.ItemStack getNMSStack(@NotNull final Item
return nms == null ? CraftItemStack.asNMSCopy(itemStack) : nms;
} catch (ReflectiveOperationException e) {
e.printStackTrace();
return null;
return net.minecraft.world.item.ItemStack.EMPTY;
}
}
}
Expand Down

0 comments on commit f274b90

Please sign in to comment.