v0.3.1d: stackable dropped items can no longer be added to a for sale pile.
This commit is contained in:
@@ -172,7 +172,7 @@ public class Heap implements Bundlable {
|
|||||||
|
|
||||||
public void drop( Item item ) {
|
public void drop( Item item ) {
|
||||||
|
|
||||||
if (item.stackable) {
|
if (item.stackable && type != Type.FOR_SALE) {
|
||||||
|
|
||||||
for (Item i : items) {
|
for (Item i : items) {
|
||||||
if (i.isSimilar( item )) {
|
if (i.isSimilar( item )) {
|
||||||
|
|||||||
Reference in New Issue
Block a user