Skip to content

Commit

Permalink
Fixed CI builds
Browse files Browse the repository at this point in the history
The cPlugin:SetVersion oficially accepts only numbers.
  • Loading branch information
madmaxoft committed Jul 11, 2017
1 parent 8f21401 commit 6843045
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.lua
Expand Up @@ -27,8 +27,8 @@ lastsender = {}

-- Called by Cuberite on plugin start to initialize the plugin
function Initialize(Plugin)
Plugin:SetName( "Core" )
Plugin:SetVersion( g_PluginInfo["Version"] )
Plugin:SetName("Core")
Plugin:SetVersion(tonumber(g_PluginInfo["Version"]))

-- Register for all hooks needed
cPluginManager:AddHook(cPluginManager.HOOK_CHAT, OnChat)
Expand Down

0 comments on commit 6843045

Please sign in to comment.