Skip to content

Commit

Permalink
no need to save entity if we dont remove it for some reason - crashes…
Browse files Browse the repository at this point in the history
…, etc
  • Loading branch information
wsor4035 committed Oct 27, 2024
1 parent 7333ac8 commit 08434bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions homedecor_seating/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ minetest.register_entity("homedecor_seating:seat", {
textures = {"blank.png", "blank.png", "blank.png", "blank.png", "blank.png", "blank.png"},
collisionbox = { -0.01, -0.01, -0.01, 0.01, 0.01, 0.01 },
selectionbox = { -0.01, -0.01, -0.01, 0.01, 0.01, 0.01, rotate = false },
static_save = false,
},
on_punch = function(self)
self.object:remove()
Expand Down

0 comments on commit 08434bb

Please sign in to comment.