Added ExpGamingCommands.repair

This commit is contained in:
Cooldude2606 committed 2018-06-24 20:21:18 +01:00
1 parent 56762fcf19
commit 83db4651dc
6 files changed
+63 -41

No files matched your search

@@ -0,0 +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)
temp_ban(player,'<server>','Attempt To Repair A Banned Item')
entity.destroy()
end