srakotan
This commit is contained in:
+18
-20
@@ -285,25 +285,7 @@ entities.get_all = function(uids)
|
||||
end
|
||||
end
|
||||
|
||||
math.randomseed(time.uptime()*1536227939)
|
||||
|
||||
-- --------- Deprecated functions ------ --
|
||||
block_index = block.index
|
||||
block_name = block.name
|
||||
blocks_count = block.defs_count
|
||||
is_solid_at = block.is_solid_at
|
||||
is_replaceable_at = block.is_replaceable_at
|
||||
set_block = block.set
|
||||
get_block = block.get
|
||||
get_block_X = block.get_X
|
||||
get_block_Y = block.get_Y
|
||||
get_block_Z = block.get_Z
|
||||
get_block_states = block.get_states
|
||||
set_block_states = block.set_states
|
||||
get_block_rotation = block.get_rotation
|
||||
set_block_rotation = block.set_rotation
|
||||
get_block_user_bits = block.get_user_bits
|
||||
set_block_user_bits = block.set_user_bits
|
||||
math.randomseed(time.uptime() * 1536227939)
|
||||
|
||||
----------------------------------------------
|
||||
|
||||
@@ -444,7 +426,23 @@ function string.ends_with(str, endStr)
|
||||
return endStr == "" or string.sub(str, -string.len(endStr)) == endStr
|
||||
end
|
||||
|
||||
----------------------------------------------
|
||||
-- --------- Deprecated functions ------ --
|
||||
block_index = block.index
|
||||
block_name = block.name
|
||||
blocks_count = block.defs_count
|
||||
is_solid_at = block.is_solid_at
|
||||
is_replaceable_at = block.is_replaceable_at
|
||||
set_block = block.set
|
||||
get_block = block.get
|
||||
get_block_X = block.get_X
|
||||
get_block_Y = block.get_Y
|
||||
get_block_Z = block.get_Z
|
||||
get_block_states = block.get_states
|
||||
set_block_states = block.set_states
|
||||
get_block_rotation = block.get_rotation
|
||||
set_block_rotation = block.set_rotation
|
||||
get_block_user_bits = block.get_user_bits
|
||||
set_block_user_bits = block.set_user_bits
|
||||
|
||||
function load_script(path, nocache)
|
||||
on_deprecated_call("load_script")
|
||||
|
||||
Reference in New Issue
Block a user