mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 04:21:41 +09:00
No Errors on startup of modules
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user