mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 18:59:00 +00:00
Fixed underscores >.<
This commit is contained in:
parent
21c6eeef11
commit
b358a2e474
@ -1630,7 +1630,7 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
|
||||
$c = ord($packet->username{$i});
|
||||
if(($c >= ord("a") and $c <= ord("z")) or
|
||||
($c >= ord("A") and $c <= ord("Z")) or
|
||||
($c >= ord("0") and $c <= ord("9")) or $c === "_"
|
||||
($c >= ord("0") and $c <= ord("9")) or $c === ord("_")
|
||||
){
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user