mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 12:04:46 +00:00
Position: rename getWorldNonNull() to getWorld(), remove original getWorld()
This commit is contained in:
@@ -51,7 +51,7 @@ abstract class ProjectileItem extends Item{
|
||||
|
||||
$projectile->spawnToAll();
|
||||
|
||||
$location->getWorldNonNull()->addSound($location, new ThrowSound());
|
||||
$location->getWorld()->addSound($location, new ThrowSound());
|
||||
|
||||
$this->pop();
|
||||
|
||||
|
Reference in New Issue
Block a user