mirror of
https://github.com/t-affeldt/regional_weather.git
synced 2025-07-15 23:10:33 +02:00
Modernize API calls
* Textures: fix invalid srgb profiles * Deprecated get_player_velocity -> get_velocity * Deprecated: boolean value for use_texture_alpha --------- Co-authored-by: mazes 80 <>
This commit is contained in:
@ -20,7 +20,7 @@ minetest.register_node(BLOCK_NAME, {
|
||||
},
|
||||
freezemelt = "default:river_water_source",
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "blend",
|
||||
drop = "",
|
||||
on_destruct = function(pos)
|
||||
-- asynchronous to avoid destruction loop
|
||||
|
@ -69,7 +69,7 @@ for i = 1, VARIANT_COUNT do
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "blend",
|
||||
node_box = node_box,
|
||||
groups = {
|
||||
not_in_creative_inventory = 1,
|
||||
|
Reference in New Issue
Block a user