9
0
mirror of https://github.com/WiIIiam278/HuskSync.git synced 2025-12-30 20:29:28 +00:00

TriumphGUI for menus, fix missing inv/echest view message, fix data saving despite no updates, close #42

This commit is contained in:
William
2022-10-12 21:02:57 +01:00
parent 394b8ff1d1
commit 43cd367ca3
21 changed files with 266 additions and 459 deletions

View File

@@ -27,8 +27,6 @@ public class BukkitSerializer {
public static CompletableFuture<String> serializeItemStackArray(@NotNull ItemStack[] inventoryContents)
throws DataSerializationException {
return CompletableFuture.supplyAsync(() -> {
BukkitHuskSync.getInstance().getLoggingAdapter().debug("[HS] Serializing inventory contents");
// Return an empty string if there is no inventory item data to serialize
if (inventoryContents.length == 0) {
return "";