Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

In creative mode, sometimes no items in creative inventory. #1786

Open
Snake1999 opened this issue Jul 9, 2017 · 2 comments · May be fixed by #1808
Open

In creative mode, sometimes no items in creative inventory. #1786

Snake1999 opened this issue Jul 9, 2017 · 2 comments · May be fixed by #1808

Comments

@Snake1999
Copy link
Member

Snake1999 commented Jul 9, 2017

Issue Description

There is sometimes nothing inside the creative inventory! I use default gamemode as creative.

Steps to Reproduce the Issue

  1. Join the server with creative mode
  2. Open the inventory
  3. Nothing inside

OS and Versions

  • Java Version:
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
  • Host Configuration:
Linux cloud 2.6.32-642.el6.x86_64 #1 SMP Tue May 10 17:27:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Item Value
Host OS Linux
Memory(RAM) 16 GB
Storage Size 200 GB
Storage Type HDD
CPU Type Intel Xeon E5-2670
CPU Core Count 8 cores 16 threads
Upstream Bandwidth 10Mbps
  • Client Configuration:
Item Value
Client Edition iOS, Android and Windows 10
Client Version 1.1.2

Crashdump, Backtrace or Other Files

No
@junkdude
Copy link

send the creative inventory on join?

@Christian7573 Christian7573 linked a pull request Jul 18, 2017 that will close this issue
MitchellBot added a commit to MitchellBot/Nukkit that referenced this issue Aug 4, 2017
- Added sendCreativeContents function to PlayerInventory
- Removed ContainerSetContentPacket logic from ProcessLogin()
- Added call to sendCreativeContents to player during doFirstSpawn()
- Added call to sendCreativeContents to the reload command to regenerate all players' creative inventories
@MitchellBot
Copy link

MitchellBot commented Aug 4, 2017

This was an unusual race condition.
Fixed in #1842

MitchellBot added a commit to MitchellBot/Nukkit that referenced this issue Aug 4, 2017
- Added sendCreativeContents function to PlayerInventory
- Removed ContainerSetContentPacket logic from ProcessLogin()
- Added call to sendCreativeContents to player during doFirstSpawn()
- Added call to sendCreativeContents to the reload command to regenerate all players' creative inventories
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants