v0.4.2: fixed an exploit involving dew drops and shops
This commit is contained in:
parent
0c4d302979
commit
1faed412d4
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue
Block a user