diff options
author | Alexander Harkness <bearbin@gmail.com> | 2013-08-10 17:00:11 +0200 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2013-08-10 17:00:11 +0200 |
commit | 0355be903f7ae6fc8ced5bafe806a806598b7ff1 (patch) | |
tree | defb2f3eebdc25cc485a25713add93f058f46fc9 /MCServer/Plugins/Core/item.lua | |
parent | Merge pull request #56 from mc-server/LinuxColorConsole (diff) | |
download | cuberite-0355be903f7ae6fc8ced5bafe806a806598b7ff1.tar cuberite-0355be903f7ae6fc8ced5bafe806a806598b7ff1.tar.gz cuberite-0355be903f7ae6fc8ced5bafe806a806598b7ff1.tar.bz2 cuberite-0355be903f7ae6fc8ced5bafe806a806598b7ff1.tar.lz cuberite-0355be903f7ae6fc8ced5bafe806a806598b7ff1.tar.xz cuberite-0355be903f7ae6fc8ced5bafe806a806598b7ff1.tar.zst cuberite-0355be903f7ae6fc8ced5bafe806a806598b7ff1.zip |
Diffstat (limited to '')
-rw-r--r-- | MCServer/Plugins/Core/item.lua | 4 |
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 |