mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 09:19:42 +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){
|
public function __construct(?\Closure $onSlotChange, ?\Closure $onContentChange){
|
||||||
if($onSlotChange !== null){
|
if($onSlotChange !== null){
|
||||||
Utils::validateCallableSignature(function(Inventory $inventory, int $slot){}, $onSlotChange);
|
Utils::validateCallableSignature(function(Inventory $inventory, int $slot){}, $onSlotChange);
|
||||||
}
|
}
|
||||||
if($onContentChange !== null){
|
if($onContentChange !== null){
|
||||||
Utils::validateCallableSignature(function(Inventory $inventory){}, $onContentChange);
|
Utils::validateCallableSignature(function(Inventory $inventory){}, $onContentChange);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user