Skip to content

Commit fd3c592

Browse files
Fix compile errors preventing Cloudburst jar from compiling
1 parent f6c3650 commit fd3c592

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

server/src/main/java/org/cloudburstmc/server/network/NetworkUtils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ public static ItemStackResponseSlot itemStackToNetwork(ItemStackRequestSlotData
166166
item.getCount(),
167167
-1, // FIXME: item.getStackNetworkId(),
168168
customName == null ? "" : customName,
169-
damage == null ? 0 : damage);
169+
damage == null ? 0 : damage,
170+
"");
170171
}
171172
}

server/src/main/java/org/cloudburstmc/server/pack/PackManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ public synchronized void closeRegistration() {
215215
packStack.setGameVersion("*");
216216
for (Pack pack : packs.values()) {
217217
if (pack.getType() == PackType.RESOURCES) {
218-
packsInfos.getResourcePackInfos().add(new ResourcePacksInfoPacket.Entry(pack.getId().toString(),
219-
pack.getVersion().toString(), pack.getSize(), "", "", "", false, false, false));
218+
packsInfos.getResourcePackInfos().add(new ResourcePacksInfoPacket.Entry(pack.getId(),
219+
pack.getVersion().toString(), pack.getSize(), "", "", "", false, false, false, ""));
220220
packStack.getResourcePacks().add(new ResourcePackStackPacket.Entry(pack.getId().toString(),
221221
pack.getVersion().toString(), ""));
222222
}

0 commit comments

Comments
 (0)