WorldManager: Remove unused if in unloadWorld() (#6203)

This commit is contained in:
DiamondStrider1 2023-12-20 11:38:00 +01:00 committed by GitHub
parent e1f4fd3048
commit c8da9dea95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,10 +129,6 @@ class WorldManager{
}
$ev = new WorldUnloadEvent($world);
if($world === $this->defaultWorld && !$forceUnload){
$ev->cancel();
}
$ev->call();
if(!$forceUnload && $ev->isCancelled()){