v0.9.4: fixed lost backpack being hidden behind other items
This commit is contained in:
@@ -156,7 +156,8 @@ public class Heap implements Bundlable {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item.dropsDownHeap && type != Type.FOR_SALE) {
|
//lost backpack must always be on top of a heap
|
||||||
|
if ((item.dropsDownHeap && type != Type.FOR_SALE) || peek() instanceof LostBackpack) {
|
||||||
items.add( item );
|
items.add( item );
|
||||||
} else {
|
} else {
|
||||||
items.addFirst( item );
|
items.addFirst( item );
|
||||||
|
|||||||
Reference in New Issue
Block a user