Open StefanFox-Dev opened 6 days ago
Link to crashdump:
Error: Text must be valid UTF-8 File: pmsrc/src/utils/Utils Line: 614 Type: InvalidArgumentException Backtrace: #0 pmsrc/src/item/Item(158): pocketmine\utils\Utils::checkUTF8(string[36] ........ ...........................) #1 pmsrc/src/inventory/transaction/AnvilTransaction(90): pocketmine\item\Item->setCustomName(string[36] ........ ...........................) #2 pmsrc/src/inventory/transaction/AnvilTransaction(77): pocketmine\inventory\transaction\AnvilTransaction->calculateResult() #3 pmsrc/src/network/mcpe/handler/ItemStackRequestExecutor(281): pocketmine\inventory\transaction\AnvilTransaction->__construct(object pocketmine\player\Player#513665, object pocketmine\block\Anvil#145621, object pocketmine\item\TurtleHelmet#441794, object pocketmine\item\ItemBlock#484513, string[36] ........ ..........................., array[0])```
result of this when naming an item with invalid utf-8 characters
Link to crashdump:
Additional comments (optional)