php 8.1 fixs

This commit is contained in:
ArkQuark 2023-03-25 18:37:40 +03:00
parent 10c126b4d5
commit 9abba9a2a2
13 changed files with 90 additions and 11 deletions

View file

@ -245,7 +245,7 @@ class Item{
5 => 1561, //DIAMOND(called EMERALD in disassembled code)
FLINT_STEEL => 65, //lets assume it is correct
SHEARS => 239, //x2
BOW => 385 //x3
BOW => 2 //x3
];
if(($type = $this->getLevel()) === false){