mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-30 23:29:54 +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){
|
public static function getCallableIdentifier(callable $variable){
|
||||||
if(is_array($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{
|
}else{
|
||||||
return sha1(strtolower($variable));
|
return sha1(strtolower($variable));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user