]> git.lizzy.rs Git - xdecor.git/commitdiff
Fix trash can not receiving big objects thrown into
authorjp <jeanpatrick.guerrero@gmail.com>
Tue, 4 Aug 2015 15:18:38 +0000 (17:18 +0200)
committerjp <jeanpatrick.guerrero@gmail.com>
Tue, 4 Aug 2015 15:23:38 +0000 (17:23 +0200)
nodes.lua
textures/xdecor_enchbook.png [new file with mode: 0644]

index d0d91fbf82de6b0b6ab7b6d316fe0e4907a45343..c88b6b26aca031374bda153a57aed6f71ea16a59 100644 (file)
--- a/nodes.lua
+++ b/nodes.lua
@@ -563,11 +563,7 @@ xdecor.register("trash_can", {
        collision_box = {
                type = "fixed",
                fixed = {
-                       {-0.375, -0.5, 0.375, 0.375, 0.25, 0.375},
-                       {0.375, -0.5, -0.375, 0.375, 0.25, 0.375},
-                       {-0.375, -0.5, -0.375, 0.375, 0.25, -0.375},
-                       {-0.375, -0.5, -0.375, -0.375, 0.25, 0.375},
-                       {-0.375, -0.5, -0.375, 0.375, -0.4375, 0.375}
+                       {-0.375, -0.5, -0.375, 0.375, 0.19, 0.375}
                }
        },
        on_construct = function(pos)
diff --git a/textures/xdecor_enchbook.png b/textures/xdecor_enchbook.png
new file mode 100644 (file)
index 0000000..2ed728e
Binary files /dev/null and b/textures/xdecor_enchbook.png differ