Open SOF3 opened 8 years ago
@SOF3 is right but also remember there always will be something more to add, fix or remove. Impossible to satisfy everyone.
When one doors closes two more open.
You offering to "fix" it?
I'd say it's probably faster to leave it as it is and avoiding creating 20 new objects with all the added overhead.
Multiple connections for the same Player
? That could be harmful...
Issue description
Player.php is seriously messed up. The
pocketmine\Player
class has too many functions, which should be split up.Functions
IPlayer
)pocketmine\network\Client
) (Possible enhancement: making it possible to have zero to multiple connections (Client
s) for the samePlayer
)pocketmine\network\protocol\Info
!See also
A question on Programmers Stack Exchange
Steps to reproduce the issue
OS and versions
Crashdump, backtrace or other files