Skip to content

Commit

Permalink
Updated wasm bindgen getter for portal destinations to have the corre…
Browse files Browse the repository at this point in the history
…ct name
  • Loading branch information
pajotg committed Dec 20, 2023
1 parent 73420a8 commit 4568ddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/objects/impls/structure_portal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ extern "C" {
#[derive(Clone, Debug)]
pub type StructurePortal;

#[wasm_bindgen(method, getter)]
#[wasm_bindgen(method, getter = destination)]
fn destination_internal(this: &StructurePortal) -> JsValue;

/// The number of ticks until the portal will decay, if it's unstable, or 0
Expand Down

0 comments on commit 4568ddf

Please sign in to comment.