mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-17 03:08:58 +00:00
Fixed A-Z range
This commit is contained in:
parent
96f67bdadf
commit
21c6eeef11
@ -1629,7 +1629,7 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
|
|||||||
for($i = 0; $i < $len and $valid; ++$i){
|
for($i = 0; $i < $len and $valid; ++$i){
|
||||||
$c = ord($packet->username{$i});
|
$c = ord($packet->username{$i});
|
||||||
if(($c >= ord("a") and $c <= ord("z")) or
|
if(($c >= ord("a") and $c <= ord("z")) or
|
||||||
($c >= ord("Z") 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 === "_"
|
||||||
){
|
){
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user