1
0

Fixed The MagicCarpet plugin

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1590 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com 2013-06-15 14:26:21 +00:00
parent def8f859ba
commit 92fc62fb4b

View File

@ -13,7 +13,7 @@ function Initialize( Plugin )
PluginManager:BindCommand("/mc", "magiccarpet", HandleCarpetCommand, " - Spawns a magical carpet"); PluginManager:BindCommand("/mc", "magiccarpet", HandleCarpetCommand, " - Spawns a magical carpet");
Log( "Initialized " .. Plugin:GetName() .. " v." .. Plugin:GetVersion() ) LOG( "Initialized " .. Plugin:GetName() .. " v." .. Plugin:GetVersion() )
return true return true
end end
@ -22,7 +22,7 @@ end
function OnDisable() function OnDisable()
Log( PLUGIN:GetName() .. " v." .. PLUGIN:GetVersion() .. " is shutting down..." ) LOG( PLUGIN:GetName() .. " v." .. PLUGIN:GetVersion() .. " is shutting down..." )
for i, Carpet in pairs( Carpets ) do for i, Carpet in pairs( Carpets ) do
Carpet:remove() Carpet:remove()
end end