Skip to content

Commit

Permalink
add copy()
Browse files Browse the repository at this point in the history
  • Loading branch information
m1919810 committed Dec 29, 2024
1 parent 599861a commit 9b647ce
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,9 @@ public ItemStack clone() {
}
return stack;
}
public SlimefunItemStack copy(){
return new SlimefunItemStack(id,this);
}

@Override
public String toString() {
Expand Down

0 comments on commit 9b647ce

Please sign in to comment.