diff options
author | Alexander Harkness <bearbin@gmail.com> | 2013-07-27 17:22:27 +0200 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2013-07-27 17:22:27 +0200 |
commit | 66e837ecbc08ece3150a364976db87f56813d30b (patch) | |
tree | 1593ac9b849f3416aafa70c440694200c62e6b2c /Core/regen.lua | |
parent | Added the new core as a subtree. (diff) | |
download | cuberite-66e837ecbc08ece3150a364976db87f56813d30b.tar cuberite-66e837ecbc08ece3150a364976db87f56813d30b.tar.gz cuberite-66e837ecbc08ece3150a364976db87f56813d30b.tar.bz2 cuberite-66e837ecbc08ece3150a364976db87f56813d30b.tar.lz cuberite-66e837ecbc08ece3150a364976db87f56813d30b.tar.xz cuberite-66e837ecbc08ece3150a364976db87f56813d30b.tar.zst cuberite-66e837ecbc08ece3150a364976db87f56813d30b.zip |
Diffstat (limited to '')
-rw-r--r-- | Core/regen.lua | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Core/regen.lua b/Core/regen.lua deleted file mode 100644 index f1dd4e118..000000000 --- a/Core/regen.lua +++ /dev/null @@ -1,18 +0,0 @@ -function HandleRegenCommand(Split, Player) - if ((#Split == 2) or (#Split > 3)) then - Player:SendMessage( cChatColor.Green .. "Usage: '/regeneratechunk' or '/regeneratechunk [X] [Z]'"); - return true; - end - - local X = Player:GetChunkX(); - local Z = Player:GetChunkZ(); - - if (#Split == 3) then - X = Split[2]; - Z = Split[3]; - end - - Player:SendMessage(cChatColor.Green .. "Regenerating chunk ["..X..", "..Z.."]"); - Player:GetWorld():RegenerateChunk(X, Z); - return true; -end
\ No newline at end of file |