summaryrefslogtreecommitdiffstats
path: root/Core/top.lua
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2013-07-27 17:22:27 +0200
committerAlexander Harkness <bearbin@gmail.com>2013-07-27 17:22:27 +0200
commit66e837ecbc08ece3150a364976db87f56813d30b (patch)
tree1593ac9b849f3416aafa70c440694200c62e6b2c /Core/top.lua
parentAdded the new core as a subtree. (diff)
downloadcuberite-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 'Core/top.lua')
-rw-r--r--Core/top.lua11
1 files changed, 0 insertions, 11 deletions
diff --git a/Core/top.lua b/Core/top.lua
deleted file mode 100644
index bc2343f7f..000000000
--- a/Core/top.lua
+++ /dev/null
@@ -1,11 +0,0 @@
-function HandleTopCommand( Split, Player )
- local World = Player:GetWorld()
-
- local PlayerPos = Player:GetPosition()
- local Height = World:GetHeight( math.floor(PlayerPos.x), math.floor(PlayerPos.z) )
- SetBackCoordinates( Player )
- Player:TeleportToCoords( PlayerPos.x, Height+1, PlayerPos.z )
- Player:SendMessage("Teleported to the top block")
-
- return true
-end \ No newline at end of file