Hello! Im try to get protocol version from player and i getted random numbers, but its not a protocol numbers And i think the protocol(448)...
public function refillChests($tile, $int){ for($i = 0;$i <= 20;$i++){ $tile->getInventory()->setItem($i, ItemFactory::get(1)); } }...
If i want refill all chests, i get this error RuntimeException: index invalid or out of range My code: foreach($fcontents as $key => $val){...
After player join to server i make npc to him, and after server stop with this error. What is the problem? code: $p->getLevel()->loadChunk($x >>...
Please, help me with this
Separate names with a comma.