v0.2.3f: fixed yet more quickslot issues, this should be all of them.
This commit is contained in:
@@ -179,7 +179,7 @@ public class Item implements Bundlable {
|
||||
}
|
||||
|
||||
items.add( this );
|
||||
Dungeon.quickslot.replaceSimilar(this);
|
||||
if (stackable || this instanceof Boomerang) Dungeon.quickslot.replaceSimilar(this);
|
||||
updateQuickslot();
|
||||
Collections.sort( items, itemComparator );
|
||||
return true;
|
||||
@@ -205,7 +205,7 @@ public class Item implements Bundlable {
|
||||
} else
|
||||
if (quantity == 1) {
|
||||
|
||||
if (stackable == true || this instanceof Boomerang){
|
||||
if (stackable || this instanceof Boomerang){
|
||||
Dungeon.quickslot.convertToPlaceholder(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user