16 lines
289 B
Lua
16 lines
289 B
Lua
|
-- SPDX-FileCopyrightText: 2017 The CC: Tweaked Developers
|
||
|
--
|
||
|
-- SPDX-License-Identifier: MPL-2.0
|
||
|
|
||
|
if not pocket then
|
||
|
printError("Requires a Pocket Computer")
|
||
|
return
|
||
|
end
|
||
|
|
||
|
local ok, err = pocket.unequipBack()
|
||
|
if not ok then
|
||
|
printError(err)
|
||
|
else
|
||
|
print("Item unequipped")
|
||
|
end
|