Forgot a " -_-

master
Extex101 2020-03-08 19:13:14 -07:00 committed by GitHub
parent 2045996072
commit ffb8fdd7e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ for id, colour in pairs (bikelist) do
description = colour:gsub("^%l", string.upper):gsub("_", " ").." bike",
inventory_image = "motorbike_"..colour.."_inv.png",
on_place = function(itemstack, placer, pointed_thing)
if pointed_thing.type ~= "node then
if pointed_thing.type ~= "node" then
return
end
local pos = {x=pointed_thing.above.x, y=pointed_thing.above.y+1, z=pointed_thing.above.z}