Skip to content

Commit

Permalink
There was just a little exploit ^-^
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeRNG committed Mar 7, 2023
1 parent 498a431 commit 6929684
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,6 @@ protected void onMouseClick(@Nullable Slot slot, int slotId, int button, SlotAct
CodeClient.LOGGER.info(String.valueOf(slotStack.getNbt()));
ItemStack cursorItem = this.handler.getCursorStack();

try {
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:[]}"));
} catch (Exception ignored) {
CodeClient.LOGGER.error(ignored.getMessage());
}


slot.setStack(cursorItem);
this.handler.setCursorStack(slotStack);
}
Expand Down

0 comments on commit 6929684

Please sign in to comment.