From 0958e167e89d2b3289c01905ebb8897e6bc86c43 Mon Sep 17 00:00:00 2001
From: Julian Laubstein
Date: Tue, 11 Aug 2015 22:48:55 +0200
Subject: Updated APIDump to follow the namechange
---
MCServer/Plugins/APIDump/Hooks/OnChunkGenerated.lua | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'MCServer/Plugins/APIDump/Hooks/OnChunkGenerated.lua')
diff --git a/MCServer/Plugins/APIDump/Hooks/OnChunkGenerated.lua b/MCServer/Plugins/APIDump/Hooks/OnChunkGenerated.lua
index b10dc36f5..64bfdad5c 100644
--- a/MCServer/Plugins/APIDump/Hooks/OnChunkGenerated.lua
+++ b/MCServer/Plugins/APIDump/Hooks/OnChunkGenerated.lua
@@ -21,10 +21,10 @@ return
{ Name = "ChunkDesc", Type = "{{cChunkDesc}}", Notes = "Generated chunk data. Plugins may still modify the chunk data contained." },
},
Returns = [[
- If the plugin returns false or no value, MCServer will call other plugins' callbacks for this event.
+ If the plugin returns false or no value, Cuberite will call other plugins' callbacks for this event.
If a plugin returns true, no other callback is called for this event.
- In either case, MCServer will then store the data from ChunkDesc as the chunk's contents in the world.
+ In either case, Cuberite will then store the data from ChunkDesc as the chunk's contents in the world.
]],
CodeExamples =
{
@@ -34,7 +34,7 @@ return
Code = [[
function OnChunkGenerated(a_World, a_ChunkX, a_ChunkZ, a_ChunkDesc)
-- Generate a psaudorandom value that is always the same for the same X/Z pair, but is otherwise random enough:
- -- This is actually similar to how MCServer does its noise functions
+ -- This is actually similar to how Cuberite does its noise functions
local PseudoRandom = (a_ChunkX * 57 + a_ChunkZ) * 57 + 19785486
PseudoRandom = PseudoRandom * 8192 + PseudoRandom;
PseudoRandom = ((PseudoRandom * (PseudoRandom * PseudoRandom * 15731 + 789221) + 1376312589) % 0x7fffffff;
--
cgit v1.2.3