summaryrefslogtreecommitdiffstats
path: root/MCServer
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-02 23:44:24 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-02 23:44:24 +0200
commitd2b3011c05890652b0aa09f6e128004056a98258 (patch)
tree8297f8386096a624f7762f6bb36d7170742952d5 /MCServer
parentEnchantments are now stored in Anvil world and in player inventory (diff)
downloadcuberite-d2b3011c05890652b0aa09f6e128004056a98258.tar
cuberite-d2b3011c05890652b0aa09f6e128004056a98258.tar.gz
cuberite-d2b3011c05890652b0aa09f6e128004056a98258.tar.bz2
cuberite-d2b3011c05890652b0aa09f6e128004056a98258.tar.lz
cuberite-d2b3011c05890652b0aa09f6e128004056a98258.tar.xz
cuberite-d2b3011c05890652b0aa09f6e128004056a98258.tar.zst
cuberite-d2b3011c05890652b0aa09f6e128004056a98258.zip
Diffstat (limited to '')
-rw-r--r--MCServer/Plugins/Debuggers/Debuggers.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/MCServer/Plugins/Debuggers/Debuggers.lua b/MCServer/Plugins/Debuggers/Debuggers.lua
index 7c20e90e6..a9e834361 100644
--- a/MCServer/Plugins/Debuggers/Debuggers.lua
+++ b/MCServer/Plugins/Debuggers/Debuggers.lua
@@ -600,10 +600,12 @@ function HandleTestWndCmd(a_Split, a_Player)
local Item4 = cItem(E_ITEM_DIAMOND_PICKAXE);
Item4.m_Enchantments:SetLevel(cEnchantments.enchUnbreaking, 5);
Item4.m_Enchantments:SetLevel(cEnchantments.enchEfficiency, 3);
+ local Item5 = cItem(E_ITEM_DIAMOND_CHESTPLATE, 1, 0, "thorns=1;unbreaking=3");
Window:SetSlot(a_Player, 0, cItem(E_ITEM_DIAMOND, 64));
Window:SetSlot(a_Player, 1, Item2);
Window:SetSlot(a_Player, 2, Item3);
Window:SetSlot(a_Player, 3, Item4);
+ Window:SetSlot(a_Player, 4, Item5);
Window:SetOnClosing(OnClosing);
Window:SetOnSlotChanged(OnSlotChanged);