Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server crashed #504

Open
StefanFox-Dev opened this issue Nov 16, 2024 · 3 comments
Open

Server crashed #504

StefanFox-Dev opened this issue Nov 16, 2024 · 3 comments

Comments

@StefanFox-Dev
Copy link

StefanFox-Dev commented Nov 16, 2024

Link to crashdump:

Additional comments (optional)

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])```
@Superomarking
Copy link

Superomarking commented Nov 16, 2024

result of this when naming an item with invalid utf-8 characters

@dries-c
Copy link
Member

dries-c commented Dec 5, 2024

Does this happen in PM itself when you use this text as input in signs for example

@StefanFox-Dev
Copy link
Author

signs not problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants