From 71c84d678359df1f7e7248dc1113842c7629c513 Mon Sep 17 00:00:00 2001 From: friendlyhj Date: Sat, 25 May 2024 01:12:42 +0800 Subject: [PATCH] fix event description --- advanced/event-overview/tips.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/advanced/event-overview/tips.md b/advanced/event-overview/tips.md index 0f5d825..4cd2028 100644 --- a/advanced/event-overview/tips.md +++ b/advanced/event-overview/tips.md @@ -44,7 +44,7 @@ events.onPlayerCrafted(function(event as PlayerCraftedEvent) { }); ``` -当玩家触发`PlayerCraftedEvent`事件时,就会写入该自定义标签到玩家数据中,同时输出调试信息。 +当玩家合成时,就会写入该自定义标签到玩家数据中,同时输出调试信息。 ```log [SERVER_STARTED][SERVER][INFO] {custom: 1 as byte} @@ -96,7 +96,7 @@ events.onPlayerCrafted(function(event as PlayerCraftedEvent) { ```csharp import crafttweaker.events.IEventManager; -import crafttweaker.event.BlockPlaceEvent; +import crafttweaker.event.PlayerCraftedEvent; import crafttweaker.player.IPlayer; import crafttweaker.data.IData; @@ -109,7 +109,7 @@ events.onPlayerCrafted(function(event as PlayerCraftedEvent) { }); ``` -当玩家触发`BlockPlaceEvent`事件时,就会修改他保存着的`custom`标签的数据,同时输出调试信息。 +当玩家合成时,就会修改他保存着的`custom`标签的数据,同时输出调试信息。 ```log [SERVER_STARTED][SERVER][INFO] 10