summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Mauldin <sam@fluidnode.com>2013-12-24 03:58:39 +0100
committerSam Mauldin <sam@fluidnode.com>2013-12-24 03:58:39 +0100
commite593cef109ec847a1f20bfd6f4d4bb25a93bc165 (patch)
treec826b7a0227b209c95bd93372dd7855c30a4cd98
parentReplaced esCreeper with esMonster. (diff)
downloadcuberite-e593cef109ec847a1f20bfd6f4d4bb25a93bc165.tar
cuberite-e593cef109ec847a1f20bfd6f4d4bb25a93bc165.tar.gz
cuberite-e593cef109ec847a1f20bfd6f4d4bb25a93bc165.tar.bz2
cuberite-e593cef109ec847a1f20bfd6f4d4bb25a93bc165.tar.lz
cuberite-e593cef109ec847a1f20bfd6f4d4bb25a93bc165.tar.xz
cuberite-e593cef109ec847a1f20bfd6f4d4bb25a93bc165.tar.zst
cuberite-e593cef109ec847a1f20bfd6f4d4bb25a93bc165.zip
Diffstat (limited to '')
-rw-r--r--MCServer/Plugins/MagicCarpet/plugin.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/MCServer/Plugins/MagicCarpet/plugin.lua b/MCServer/Plugins/MagicCarpet/plugin.lua
index 81eb02a9c..b05816e48 100644
--- a/MCServer/Plugins/MagicCarpet/plugin.lua
+++ b/MCServer/Plugins/MagicCarpet/plugin.lua
@@ -1,4 +1,5 @@
local Carpets = {}
+local PLUGIN
function Initialize( Plugin )
Plugin:SetName( "MagicCarpet" )
@@ -9,7 +10,9 @@ function Initialize( Plugin )
local PluginManager = cPluginManager:Get()
PluginManager:BindCommand("/mc", "magiccarpet", HandleCarpetCommand, " - Spawns a magical carpet");
-
+
+ PLUGIN = Plugin
+
LOG( "Initialised " .. Plugin:GetName() .. " v." .. Plugin:GetVersion() )
return true
end
@@ -75,4 +78,4 @@ function OnPlayerMoving(Player)
end
Carpet:moveTo( cLocation:new( Player:GetPosX(), Player:GetPosY(), Player:GetPosZ() ) )
end
-end \ No newline at end of file
+end