diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-10-03 09:24:25 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-10-03 09:24:25 +0200 |
commit | 9fa165488b2c5085c7f74e3ec8942c5bb152b1d3 (patch) | |
tree | 3ede567830e85912942f9eec7667c42b6292928b /MCServer/Plugins/sTick/main.lua | |
parent | Added BLOCK_FACE_NONE into the plugin API (diff) | |
download | cuberite-9fa165488b2c5085c7f74e3ec8942c5bb152b1d3.tar cuberite-9fa165488b2c5085c7f74e3ec8942c5bb152b1d3.tar.gz cuberite-9fa165488b2c5085c7f74e3ec8942c5bb152b1d3.tar.bz2 cuberite-9fa165488b2c5085c7f74e3ec8942c5bb152b1d3.tar.lz cuberite-9fa165488b2c5085c7f74e3ec8942c5bb152b1d3.tar.xz cuberite-9fa165488b2c5085c7f74e3ec8942c5bb152b1d3.tar.zst cuberite-9fa165488b2c5085c7f74e3ec8942c5bb152b1d3.zip |
Diffstat (limited to 'MCServer/Plugins/sTick/main.lua')
-rw-r--r-- | MCServer/Plugins/sTick/main.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/MCServer/Plugins/sTick/main.lua b/MCServer/Plugins/sTick/main.lua index 16ac7167f..057cd22d1 100644 --- a/MCServer/Plugins/sTick/main.lua +++ b/MCServer/Plugins/sTick/main.lua @@ -6,15 +6,15 @@ PLUGIN = {} -- Reference to own plugin object -function Initialize( Plugin )
+function Initialize(Plugin)
PLUGIN = Plugin
- Plugin:SetName( "sTick" )
- Plugin:SetVersion( 8 )
+ Plugin:SetName("sTick")
+ Plugin:SetVersion(2)
PluginManager = cRoot:Get():GetPluginManager()
- PluginManager:AddHook( Plugin, cPluginManager.E_PLUGIN_BLOCK_PLACE )
+ PluginManager:AddHook(Plugin, cPluginManager.E_PLUGIN_BLOCK_PLACE)
- LOG( "Initialized " .. Plugin:GetName() .. " v." .. Plugin:GetVersion() )
+ LOG("Initialized " .. Plugin:GetName() .. " v." .. Plugin:GetVersion())
return true
end
\ No newline at end of file |