mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 01:09:44 +00:00
CallbackInventoryChangeListener: fix use of tab instead of space
This commit is contained in:
parent
31405f7587
commit
3a9e6bb612
@ -46,7 +46,7 @@ class CallbackInventoryChangeListener implements InventoryChangeListener{
|
||||
*/
|
||||
public function __construct(?\Closure $onSlotChange, ?\Closure $onContentChange){
|
||||
if($onSlotChange !== null){
|
||||
Utils::validateCallableSignature(function(Inventory $inventory, int $slot){}, $onSlotChange);
|
||||
Utils::validateCallableSignature(function(Inventory $inventory, int $slot){}, $onSlotChange);
|
||||
}
|
||||
if($onContentChange !== null){
|
||||
Utils::validateCallableSignature(function(Inventory $inventory){}, $onContentChange);
|
||||
|
Loading…
x
Reference in New Issue
Block a user