mirror of
https://gitea.sffnetwork.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-11-22 02:19:45 +00:00
FEAT: New proto check
This commit is contained in:
parent
8be842a8ac
commit
97b0fb4d46
6 changed files with 41 additions and 20 deletions
|
|
@ -22,11 +22,12 @@
|
|||
#include "network/packet/SendInventoryPacket.h"
|
||||
#include "world/entity/player/Inventory.h"
|
||||
|
||||
ServerPlayer::ServerPlayer( Minecraft* minecraft, Level* level )
|
||||
ServerPlayer::ServerPlayer( Minecraft* minecraft, Level* level, bool proto)
|
||||
: super(level, minecraft->isCreativeMode()),
|
||||
_mc(minecraft),
|
||||
_prevHealth(-999),
|
||||
_containerCounter(0)
|
||||
_containerCounter(0),
|
||||
isNewProto(proto)
|
||||
{
|
||||
// hasFakeInventory = true;
|
||||
footSize = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue