From b084f1f13fdd73e10fe296ef7d48a3c8beb95585 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Wed, 26 Aug 2020 21:45:13 +0100 Subject: Remove unneeded MarkDirty, SendToClients parameters of SetMeta Partially reverts #3129, whose addition of these parameters was superseded by #3149 that fixed generated leaves' metas. References: https://github.com/cuberite/cuberite/pull/4417#discussion_r334950513 e0bcd754009f16480437b2c1fa5e7fbedab31496 --- Server/Plugins/APIDump/Classes/World.lua | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'Server/Plugins/APIDump') diff --git a/Server/Plugins/APIDump/Classes/World.lua b/Server/Plugins/APIDump/Classes/World.lua index 4de9c68f4..62e53ace6 100644 --- a/Server/Plugins/APIDump/Classes/World.lua +++ b/Server/Plugins/APIDump/Classes/World.lua @@ -2801,18 +2801,8 @@ function OnAllChunksAvailable() All return values from the callbacks are i Name = "BlockMeta", Type = "number", }, - { - Name = "ShouldMarkChunkDirty", - Type = "boolean", - IsOptional = true, - }, - { - Name = "ShouldSendToClients", - Type = "boolean", - IsOptional = true, - }, }, - Notes = "Sets the meta for the block at the specified coords. If ShouldMarkChunkDirty is true (default), the chunk is marked dirty and will be saved later on. If ShouldSendToClients is true (default), the change is broadcast to all clients who have the chunk loaded, if false, the change is kept server-side only.", + Notes = "Sets the meta for the block at the specified coords.", }, { Params = -- cgit v1.2.3