Skip to content

Commit

Permalink
Copy "dest" attribute when splitting marked scroll stacks
Browse files Browse the repository at this point in the history
Closes: #467
  • Loading branch information
AntumDeluge committed Oct 31, 2022
1 parent 33b8ea7 commit b6c0c50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Changelog

1.42

*bugfixes*
- copy "dest" attribute when splitting marked scroll stacks

*world*
- added non-interactive tadpole to Ados Rock map

Expand Down
1 change: 1 addition & 0 deletions src/games/stendhal/server/entity/item/StackableItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public class StackableItem extends Item implements Stackable<StackableItem> {
private static String[] initializeAttributeNamesToCopy() {
Collection<String> attsToCopy = new LinkedList<String>(Arrays.asList(IMPORTANT_ATTRIBUTES));
attsToCopy.add("description");
attsToCopy.add("dest");
return attsToCopy.toArray(new String[attsToCopy.size()]);
}

Expand Down

0 comments on commit b6c0c50

Please sign in to comment.