summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/Core/item.lua
diff options
context:
space:
mode:
Diffstat (limited to 'MCServer/Plugins/Core/item.lua')
-rw-r--r--MCServer/Plugins/Core/item.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/MCServer/Plugins/Core/item.lua b/MCServer/Plugins/Core/item.lua
index b665e5208..37a2b8cf5 100644
--- a/MCServer/Plugins/Core/item.lua
+++ b/MCServer/Plugins/Core/item.lua
@@ -5,7 +5,8 @@ function HandleItemCommand(Split, Player)
return true
end
- itemSplit = StringSplit(Split[2], ":")
+ local itemSplit = StringSplit(Split[2], ":")
+ local newSplit = {}
newSplit[1] = "/give"
newSplit[2] = Player:GetName()
@@ -21,4 +22,5 @@ function HandleItemCommand(Split, Player)
HandleGiveCommand(newSplit, Player)
return true
+
end \ No newline at end of file