mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
Oops x2
This commit is contained in:
parent
5057a3965e
commit
b635a54b13
@ -33,7 +33,7 @@ class Utils{
|
||||
|
||||
public static function getCallableIdentifier(callable $variable){
|
||||
if(is_array($variable)){
|
||||
return sha1(strtolower(get_class($variable))."::".strtolower($variable[1]));
|
||||
return sha1(strtolower(get_class($variable[0]))."::".strtolower($variable[1]));
|
||||
}else{
|
||||
return sha1(strtolower($variable));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user