diff options
| author | mat <git@matdoes.dev> | 2025-11-13 12:34:47 +0930 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-11-13 07:04:52 +0400 |
| commit | fbaae39cdf9c5a7a34005a51a37b85f7cdd5ea00 (patch) | |
| tree | 3126fb34a4e0ac979a1103a8227a2b9a136c1553 /azalea-physics/src/fluids.rs | |
| parent | a4312599f7c04709a92b7be238dcf577bafbb14f (diff) | |
| download | azalea-drasl-fbaae39cdf9c5a7a34005a51a37b85f7cdd5ea00.tar.xz | |
rename ResourceLocation to Identifier ahead of mojmap changes
Diffstat (limited to 'azalea-physics/src/fluids.rs')
| -rw-r--r-- | azalea-physics/src/fluids.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-physics/src/fluids.rs b/azalea-physics/src/fluids.rs index c37a9917..01ffe75f 100644 --- a/azalea-physics/src/fluids.rs +++ b/azalea-physics/src/fluids.rs @@ -4,8 +4,8 @@ use azalea_block::{ }; use azalea_core::{ direction::Direction, + identifier::Identifier, position::{BlockPos, Vec3}, - resource_location::ResourceLocation, }; use azalea_entity::{HasClientLoaded, LocalEntity, Physics, Position}; use azalea_world::{Instance, InstanceContainer, InstanceName}; @@ -40,7 +40,7 @@ pub fn update_in_water_state_and_do_fluid_pushing( let is_ultrawarm = world .registries .map - .get(&ResourceLocation::new("minecraft:dimension_type")) + .get(&Identifier::new("minecraft:dimension_type")) .and_then(|d| { d.get(&**instance_name) .map(|d| d.byte("ultrawarm") != Some(0)) |
