You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[22:32:50.535] [Server thread/CRITICAL]: TypeError: "pocketmine\entity\Location::__construct(): Argument #4 ($world) must be of type ?pocketmine\world\World, float given, called in phar:///home/minecraft/plugins/WarpUI_dev-30.phar/src/xenialdan/WarpUI/Loader.php on line 81" (EXCEPTION) in "pmsrc/src/entity/Location" at line 37
--- Stack trace ---
#0 plugins/WarpUI_dev-30.phar/src/xenialdan/WarpUI/Loader(81): pocketmine\entity\Location->__construct(double 543.8235, double 164, double -614.049, double 1.5829467773438, double 73.360641479492, object pocketmine\world\World#106132)`
public static function getWarp(string $name): ?Location
{
$values = self::getInstance()->warps->get($name);
if ($values === false) {
return null;
}
try {
self::getInstance()->getServer()->getWorldManager()->loadWorld($values['levelname'], true);
} catch (WorldException $e) {
self::getInstance()->getLogger()->logException($e);
}
return new Location($values['x'], $values['y'], $values['z'], $values['yaw'], $values['pitch'], self::getInstance()->getServer()->getWorldManager()->getWorldByName($values['levelname']));
}
The text was updated successfully, but these errors were encountered:
I am currently very limited on my time and low on funds. In case you want an update / fix to be released urgently, feel free to make a donation on any of the following services:
Leave your name in the description of the donation and include which plugin / library you want updates for, and i will finish it within a week. Additionally you can claim the Donator rank on my Discord if you include your @name: discord.gg/Vh7Usbs Thank you for your generous support and have a nice day!
The text was updated successfully, but these errors were encountered: