mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-26 17:13:49 +01:00
forceload block bugfix.
This commit is contained in:
parent
7e064c9227
commit
0e95c2a76d
@ -1,6 +1,19 @@
|
|||||||
# Release Notes for ModPack TechPack [techpack]
|
# Release Notes for ModPack TechPack [techpack]
|
||||||
|
|
||||||
|
|
||||||
|
## V2.02.02 (2019-02-216)
|
||||||
|
|
||||||
|
### Additions
|
||||||
|
- sl_controller: add battery status command
|
||||||
|
|
||||||
|
### Removals
|
||||||
|
|
||||||
|
### Changes
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- forceload block bugfix
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## V2.02.01 (2019-01-29)
|
## V2.02.01 (2019-01-29)
|
||||||
|
|
||||||
|
@ -159,7 +159,9 @@ minetest.register_node("tubelib:forceload", {
|
|||||||
|
|
||||||
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||||
local player = minetest.get_player_by_name(oldmetadata.fields.owner)
|
local player = minetest.get_player_by_name(oldmetadata.fields.owner)
|
||||||
del_pos(pos, player)
|
if player then
|
||||||
|
del_pos(pos, player)
|
||||||
|
end
|
||||||
minetest.forceload_free_block(pos, true)
|
minetest.forceload_free_block(pos, true)
|
||||||
tubelib.unmark_region(oldmetadata.fields.owner)
|
tubelib.unmark_region(oldmetadata.fields.owner)
|
||||||
end,
|
end,
|
||||||
|
Loading…
Reference in New Issue
Block a user