No Errors on startup of modules

This commit is contained in:
Cooldude2606
2018-09-03 19:28:18 +01:00
parent e825dfe326
commit 480b548f5f
78 changed files with 631 additions and 138 deletions

View File

@@ -1,7 +1,7 @@
-- not_luadoc=true
local temp_ban = require('ExpGamingAdmin.TempBan')
return function repairDisallow(player,entity)
player_return('You have repaired: '..entity.name..' this item is not allowed.',defines.text_color.crit,player)
return function(player,entity)
player_return('You have repaired: '..entity.name..' this item is not allowed.',defines.textcolor.crit,player)
temp_ban(player,'<server>','Attempt To Repair A Banned Item')
entity.destroy()
end