From 4cd49d7eca5f8fd53eb98577a1f218a5086704bb Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Mon, 5 Apr 2021 01:38:43 +0100 Subject: Fix sending incorrect date values on world change Yak shave: make more things use cTickTime. Fix a couple of incorrect modulo-on-millisecond-value by making them use WorldTickAge. --- Server/Plugins/APIDump/APIDesc.lua | 22 ---------------------- Server/Plugins/APIDump/Classes/BlockEntities.lua | 4 ---- 2 files changed, 26 deletions(-) (limited to 'Server') diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua index 3fba7a37b..bffc40928 100644 --- a/Server/Plugins/APIDump/APIDesc.lua +++ b/Server/Plugins/APIDump/APIDesc.lua @@ -9138,24 +9138,6 @@ a_Player:OpenWindow(Window); }, Notes = "Returns the relative walk speed of this mob. Standard is 1.0", }, - GetSpawnDelay = - { - IsStatic = true, - Params = - { - { - Name = "MobFamily", - Type = "cMonster#eFamily", - }, - }, - Returns = - { - { - Type = "number", - }, - }, - Notes = "Returns the spawn delay - the number of game ticks between spawn attempts - for the specified mob family.", - }, HasCustomName = { Returns = @@ -11392,10 +11374,6 @@ a_Player:OpenWindow(Window); }, Constants = { - EATING_TICKS = - { - Notes = "Number of ticks required for consuming an item.", - }, MAX_FOOD_LEVEL = { Notes = "The maximum food level value. When the food level is at this value, the player cannot eat.", diff --git a/Server/Plugins/APIDump/Classes/BlockEntities.lua b/Server/Plugins/APIDump/Classes/BlockEntities.lua index debefda7a..91e874f34 100644 --- a/Server/Plugins/APIDump/Classes/BlockEntities.lua +++ b/Server/Plugins/APIDump/Classes/BlockEntities.lua @@ -1076,10 +1076,6 @@ World:ForEachChestInChunk(Player:GetChunkX(), Player:GetChunkZ(), { Notes = "Width (X) of the internal {{cItemGrid}} representing the hopper contents.", }, - TICKS_PER_TRANSFER = - { - Notes = "Number of ticks between when the hopper transfers items.", - }, }, Inherits = "cBlockEntityWithItems", }, -- cgit v1.2.3