There is my ghost


This mod changes the way you interact with ghosts. You can no longer place a building over a ghost of a different building, which makes blueprints easier to plonk down without construction bots

Utilities
3 years ago
0.16 - 1.1
1.68K

b Crash with Creative Mod

5 years ago

After placing a creative power source:

2826.359 Script @there-is-my-ghost/helpers.lua:37: put_item
2826.359 Script @there-is-my-ghost/helpers.lua:37: {
created_by_moving = false,
direction = 2,
name = 9,
player_index = 1,
position = {
x = 3,
y = 8
},
shift_build = false,
tick = 8726
}
2826.359 Script @there-is-my-ghost/helpers.lua:37: counted 0 entities
2826.359 Script @there-is-my-ghost/helpers.lua:37: no entities detected
2826.359 Script @there-is-my-ghost/helpers.lua:37: build is valid
2826.360 Script @there-is-my-ghost/helpers.lua:37: creative-mod_passive-energy-source
2826.360 Script @there-is-my-ghost/helpers.lua:37: build
2826.360 Script @there-is-my-ghost/helpers.lua:37: {
created_entity = {
__self = "userdata: 0x00000001345e8db0"
},
item = {
__self = "userdata: 0x000000013ba3a220"
},
name = 6,
player_index = 1,
stack = {
__self = "userdata: 0x0000000011f57e50"
},
tick = 8726
}
2826.375 Error MainLoop.cpp:1174: Exception at tick 8726: The mod There is my ghost caused a non-recoverable error.
Please report this error to the mod author.

Error while running event there-is-my-ghost::on_built_entity (ID 6)
there-is-my-ghost/functions.lua:127: attempt to index field 'cursor_stack' (a nil value)
stack traceback:
there-is-my-ghost/functions.lua:127: in function 'is_item_usable'
there-is-my-ghost/events.lua:55: in function <there-is-my-ghost/events.lua:49>

There's also a lot of messages in the log on any manual placement, so the log is cluttered.

New response