Fixed interaction to work underwater.

This commit is contained in:
Sam 2021-08-30 11:49:55 -04:00
parent 13fa154e55
commit 6b71133c50

View File

@ -669,7 +669,7 @@ pub fn handle_manipulate_loadout(
data.terrain
.get(pos)
.ok()
.and_then(|block| block.is_air().then_some(pos))
.and_then(|block| (!block.is_filled()).then_some(pos))
})
};
// Transition uses manhattan distance as the cost