mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 20:14:31 +00:00
Oops x2
This commit is contained in:
@@ -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));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user