MineColonies

MineColonies

57M Downloads

Server Error 1.14.4 - Building Is Null When Trying To Place Any Building

stargateguy1 opened this issue ยท 20 comments

commented

Minecolonies version

Version: 0.10.715-RELEASE-universal.jar

Expected behavior

  • Building placed with building tool.

Actual behaviour

  • Building item is removed from inventory like normal. Building then does not appear in world, and no error pops up in game. In server console, though, an error line appears stating:

[Server thread/ERROR] [minecolonies/]: BuildTool: building is null!

Steps to reproduce the problem

  1. Place any building with builder's tool.

Logs: Latest.log and crashlog at https://gist.github.com/

commented

Short question, do you have an item in your offhand?

commented

No I do not.

commented

Weird bug, we had this in the past already and supposedly solved it, now it seems to have reappeared in some cases. Is there a way to reproduce that?

commented

Does this happen in singleplayer to you?

commented

Sorry for the delayed reply. I have not yet tested it in singleplayer. I will test when I get the chance and post results here.
I don't have any specific method to reproduce the issue other than by saying place any building. Sorry for the lack of any specific details. I'm relatively new to reporting issues with open source stuff like this. That, and I don't spend excessive amounts of time playing games.

commented

Np, your doing better than most people =D

So, it happens for every building you are trying to place?

commented

I didn't test with each individual building, but I did try the archer hut, builder's hut, and one or two others. Also, one of the other players on the server reported the same issue in their colony shortly after I discovered the error. This led me to believe the error wasn't just me.

commented

My server I have has the same issue, although it's just the huts.
A town hall works for example, as well as the decorational buildings.
All the huts don't show any building with the building tool.

What appears to be strange to me, is that the most left selection shows decorations, the middle the huts or whatever, and the right selection is for selecting the builder's hut for example.

Shouldn't it be the huts on the left; the middle the builder's hut for example; and the right the type, like medieval oak?

commented

image
Left is hut, middle is schematic type, right is level.

commented

MineColonies_Bug_2020-02-26_19 48 54

commented

well thats just a decoration thing, not an actual hut :D
you need to craft the hut block and have it in your inventory

commented

I tried to place the hut block down.
I pressed the button to use the build tool (not the place anyways).
This opens the builders tool in whatever was my last choice of decorations.
I can't find any hut.

commented

hutblocks are an item you craft, see https://wiki.minecolonies.com/source/misc/recipes the building tool only previews the item and lets you position it easier

commented

What should happen when I'm trying to place the citizen hut? I'm not getting a preview of it.

commented

did you craft the item?

commented

Yes I did

commented

you craft the item, put it into your own inventory, THEN use the buildtool with rightclick and the the topleft lets you choose the citizen hut instead of "decorations"

commented

For some reason it worked now.
I've done the same thing last weekend, and no preview was showing up.
I've placed huts by guessing and being lucky lol.
Sorry for this. It sounded really similar to this bug.

commented

I have this problem in my server world(((

commented

Building is null in logs