mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Fixed resource packs/login sequence fail, added basic safety restrictions for packet sending before clients are logged in
close #452
This commit is contained in:
@ -44,6 +44,10 @@ abstract class DataPacket extends BinaryStream{
|
||||
return true;
|
||||
}
|
||||
|
||||
public function canBeSentBeforeLogin() : bool{
|
||||
return false;
|
||||
}
|
||||
|
||||
abstract public function encode();
|
||||
|
||||
abstract public function decode();
|
||||
|
Reference in New Issue
Block a user