mirror of
https://github.com/ElCeejo/creatura.git
synced 2025-03-21 15:21:24 +00:00
remove useless code
This commit is contained in:
parent
494f4f8d54
commit
8fc703b6f7
1 changed files with 0 additions and 2 deletions
2
api.lua
2
api.lua
|
@ -355,8 +355,6 @@ function creatura.sensor_ceil(self, range, water)
|
||||||
return dist, node
|
return dist, node
|
||||||
end
|
end
|
||||||
|
|
||||||
local get_objects = minetest.get_objects_inside_radius
|
|
||||||
|
|
||||||
function creatura.get_nearby_player(self, range)
|
function creatura.get_nearby_player(self, range)
|
||||||
local pos = self.object:get_pos()
|
local pos = self.object:get_pos()
|
||||||
if not pos then return end
|
if not pos then return end
|
||||||
|
|
Loading…
Add table
Reference in a new issue