player fixes
This commit is contained in:
1 parent
c326785fb9
commit
083792ae96
2 files changed
+15
-9
No files matched your search
@@ -2,6 +2,7 @@ package carpet.patches;
|
||||
|
||||
import com.mojang.authlib.GameProfile;
|
||||
import net.minecraft.block.entity.SkullBlockEntity;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.network.packet.s2c.play.EntityPositionS2CPacket;
|
||||
import net.minecraft.network.packet.s2c.play.EntitySetHeadYawS2CPacket;
|
||||
import net.minecraft.network.packet.s2c.play.PlayerListS2CPacket;
|
||||
@@ -86,6 +87,11 @@ public class EntityPlayerMPFake extends ServerPlayerEntity
|
||||
isAShadow = shadow;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onEquipStack(ItemStack stack)
|
||||
{
|
||||
if (!isUsingItem()) super.onEquipStack(stack);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void kill()
|
||||
|
||||
Reference in new issue
Block a user