PocketMine / PocketMine-MP

Legacy PocketMine-MP repository. Head to https://github.com/pmmp for up to date software.
https://www.pocketmine.net/
GNU Lesser General Public License v3.0
1.25k stars 660 forks source link

Player.php messed up #4239

Open SOF3 opened 8 years ago

SOF3 commented 8 years ago

Issue description

Player.php is seriously messed up. The pocketmine\Player class has too many functions, which should be split up.

Functions

  1. Open the PocketMine-MP GitHub page to view source code
  2. Wait until your browser finishes loading.
  3. Enjoy the mess of code.

    OS and versions

PrimusLV commented 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.

extremeheat commented 8 years ago

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.

iksaku commented 8 years ago

Multiple connections for the same Player? That could be harmful...