Skip to content

Commit 6929684

Browse files
committed
There was just a little exploit ^-^
1 parent 498a431 commit 6929684

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/main/java/dev/dfonline/codeclient/dev/DevInventory/DevInventoryScreen.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,6 @@ protected void onMouseClick(@Nullable Slot slot, int slotId, int button, SlotAct
8989
CodeClient.LOGGER.info(String.valueOf(slotStack.getNbt()));
9090
ItemStack cursorItem = this.handler.getCursorStack();
9191

92-
try {
93-
cursorItem.setNbt(NbtHelper.fromNbtProviderString("{CustomModelData:0,HideFlags:127,PublicBukkitValues:{\"hypercube:item_instance\":\"2427bdd2-9d64-4ff0-b86c-c0763c3c2c40\"},display:{Lore:['{\"italic\":false,\"color\":\"#808080\",\"text\":\"Shift + right click to open the cosmetics menu.\"}'],Name:'{\"italic\":false,\"color\":\"gray\",\"text\":\"Glider\"}'},palette:[]}"));
94-
} catch (Exception ignored) {
95-
CodeClient.LOGGER.error(ignored.getMessage());
96-
}
97-
98-
9992
slot.setStack(cursorItem);
10093
this.handler.setCursorStack(slotStack);
10194
}

0 commit comments

Comments
 (0)