Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ public boolean buy(OfflinePlayer offlinePlayer) {

// Resell is done, disable that now
disableReselling();
update();

// Send message to the player
message(offlinePlayer, "buy-successResale", oldOwnerName);
Expand Down Expand Up @@ -519,6 +520,7 @@ && getBooleanSetting("buy.sellDisabled")) {
}

disableReselling();
update();
// Give part of the buying price back
double moneyBack = getMoneyBackAmount();
if(moneyBack > 0 && giveMoneyBack) {
Expand Down
Loading