Fixed a crash when using the Worldshaper's Astrolabe without a block set. Closes #2019

This commit is contained in:
Vasco Lavos committed 2016-11-14 23:05:52 +00:00
1 parent 0aac583429
commit 00896bebb8
1 file changed
+1 -1
@@ -64,7 +64,7 @@ public final class ItemsRemainingRenderHandler {
String text = "";
if(customString == null) {
if(stack != null) {
if(stack != null && stack.getItem() != null) {
text = TextFormatting.GREEN + stack.getDisplayName();
if(count >= 0) {
int max = stack.getMaxStackSize();