File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
core/src/main/java/org/geysermc/geyser/util Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -493,9 +493,12 @@ public static String debugInventory(@Nullable Inventory inventory) {
493493 return "null" ;
494494 }
495495
496+ String inventoryType = inventory .getContainerType () != null ?
497+ inventory .getContainerType ().name () : "null" ;
498+
496499 return inventory .getClass ().getSimpleName () + ": javaId=" + inventory .getJavaId () +
497500 ", bedrockId=" + inventory .getBedrockId () + ", size=" + inventory .getSize () +
498- ", type=" + inventory . getContainerType (). name () + ", pending=" + inventory .isPending () +
501+ ", type=" + inventoryType + ", pending=" + inventory .isPending () +
499502 ", displayed=" + inventory .isPending () + ", delayed=" + inventory .isPending ();
500503 }
501504}
You can’t perform that action at this time.
0 commit comments