add first patch
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
BlockEvents.rightClicked("society:fish_pond_manager", (e) => {
|
||||
const { item, hand, player, level, block } = e;
|
||||
if (hand !== "MAIN_HAND" || item !== "create:clipboard") return;
|
||||
global.addItemCooldown(player, item, 10);
|
||||
player.swing();
|
||||
const pages = global.getQuestItems(block, level);
|
||||
item.nbt = {
|
||||
Type: 1,
|
||||
PreviouslyOpenedPage: 0,
|
||||
Pages: pages,
|
||||
};
|
||||
e.cancel();
|
||||
});
|
||||
Reference in New Issue
Block a user