mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-25 14:57:08 +00:00
inconsistency correction
This commit is contained in:
parent
ca95b2f28d
commit
823d4ead6a
@ -39,7 +39,7 @@ class RegisteredAsyncListener extends RegisteredListener{
|
||||
int $priority,
|
||||
Plugin $plugin,
|
||||
bool $handleCancelled,
|
||||
private bool $noConcurrentCall,
|
||||
private bool $exclusiveCall,
|
||||
TimingsHandler $timings
|
||||
){
|
||||
$handler = function(AsyncEvent&Event $event) use($handler) : void{
|
||||
@ -52,7 +52,7 @@ class RegisteredAsyncListener extends RegisteredListener{
|
||||
}
|
||||
|
||||
public function canBeCalledConcurrently() : bool{
|
||||
return !$this->noConcurrentCall;
|
||||
return !$this->exclusiveCall;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user