PowerNukkitX / PowerNukkitX-Legacy

GNU General Public License v3.0
7 stars 4 forks source link

Most of blocks are gone, replaced as update block in latest. #8

Open Parsekl opened 1 year ago

Parsekl commented 1 year ago

🐞 I found a bug

So I was about to start a server on Bedrock, chose PowerNukkitX. When I set the server up, noticed MOST of the blocks are gone and replaced by UPDATE block.

📸 Screenshots / Videos

inventorynaturesection somekindofstonegone acaciaisgone birchisgone consolelogaboutgoneblocks

▶ Steps to Reproduce

  1. Create a fresh server. Run PNX-CLI in an empty folder, let the CLI complete the setup.
  2. Then, you'll notice errors in console.
  3. Join the server through localhost, and look around.

✔ Expected Behavior

Blocks should be fine.

❌ Actual Behavior

Blocks disappear and being replaced by UPDATE block.

💬 Anything else we should know?

The disappeared blocks are too much, I don't have a proper list of them but console logs should show them.

The blocks are being gone COMPLETELY. I mean you can not even reach them with creative inventory, give command, setblock command. Tried my best to see if problem is causing by me, but nope.

Parsekl commented 1 year ago

@AzaleeX

sorry, closed by accident.

AzaleeX commented 1 year ago

Hello @Parsekl

I wanted to tell you that I will work on it tomorrow to see in detail if the problem comes from us or from you in any case I will look at it tomorrow or this evening

Tanks you

AzaleeX commented 1 year ago

I would just like to know if you have activated the map generation mode in Terra in the server.propreties

Parsekl commented 1 year ago

I would just like to know if you have activated the map generation mode in Terra in the server.propreties

Tried, didn't affect the situation. Blocks were still gone.

Parsekl commented 1 year ago

@AzaleeX , problem is fixed by changing the OS language. But still, it's a PowerNukkitX bug. Here is the evidence; image

Parsekl commented 1 year ago

It was a locale issue, U+0049 (LATIN CAPITAL DOTLESS I) was causing the problem.

Fixed by using .bat file to start server and adding -Duser.reigon=US , -Duser.language=EN .

I suggest adding these two to https://github.com/PowerNukkitX/PowerNukkitX#2run-from-command @AzaleeX

AzaleeX commented 1 year ago

Hi @Parsekl

Excuse my absence of more than 2 weeks but there is no error on my side after having done what you said to reproduce it I do not see any problem it can be because of several things / before I'll ask you what that question

  1. Have you activated terra (Java world generator)?
  2. Is this an imported world?

I advise you to recreate a world if you don't want to have this problem again.

Parsekl commented 1 year ago

While I do understand you were busy, I can't understand why are you asking same questions even after I described the issue and gave a solution? It was a locale issue, basically OS language.

No, it has nothing to do with world generation. It caused by Java using the locale of the system that executed the problem, simply İ and ı letter. Still, can't see any issues related to this on any server software so I said it is a Pnx issue.

AzaleeX commented 1 year ago

But it can't come from PNX just for an I i