v0.4.2: fixed an exploit involving dew drops and shops

This commit is contained in:
Evan Debenham 2016-09-04 04:49:59 -04:00
parent 0c4d302979
commit 1faed412d4

View File

@ -187,7 +187,7 @@ public class Heap implements Bundlable {
}
if (item instanceof Dewdrop) {
if (item instanceof Dewdrop && type != Type.FOR_SALE) {
items.add( item );
} else {
items.addFirst( item );