From f859eb87b5fcf317dc909a73d7f7db1e8b014620 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 14 Dec 2020 06:37:29 +0000 Subject: [PATCH] Merge docs for 'cleaner' --- docs/scarpet/Full.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/scarpet/Full.md b/docs/scarpet/Full.md index 5753b3c2..248dbd24 100644 --- a/docs/scarpet/Full.md +++ b/docs/scarpet/Full.md @@ -4055,7 +4055,7 @@ Triggered when player right clicks (interacts) with an entity, even if the entit the item they are holding. The event is invoked after receiving a packet from the client, before anything happens server side with that interaction. -### `__on_player_trades(player, entity, buy, buyB, sell)` +### `__on_player_trades(player, entity, buy_left, buy_right, sell)` Triggered when player trades with a merchant. The event is invoked after the server allow the trade, but before the inventory changes and merchant updates its trade-uses counter. The parameter `entity` can be `null` if the merchant is not an entity.