From 12d19e6355ab9f1f20338e58a41d7673d34ff6cb Mon Sep 17 00:00:00 2001 From: GameHerobrine Date: Sat, 24 Feb 2024 20:07:29 +0300 Subject: [PATCH] hopefully fixed durability of tools --- src/material/Item.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/material/Item.php b/src/material/Item.php index 801e99d3..bc86aa47 100755 --- a/src/material/Item.php +++ b/src/material/Item.php @@ -236,12 +236,12 @@ class Item{ return false; } - $levels = [ - 2 => 40, //GOLD - 1 => 59, //WOODEN - 3 => 131, //STONE - 4 => 250, //IRON - 5 => 1561, //DIAMOND(called EMERALD in disassembled code) + $levels = [ //TODO rewrite(item usage too) + 2 => 33, //GOLD + 1 => 60, //WOODEN + 3 => 132, //STONE + 4 => 251, //IRON + 5 => 1562, //DIAMOND(called EMERALD in disassembled code) FLINT_STEEL => 65, //lets assume it is correct SHEARS => 239, //x2 BOW => 385 //x3