Skip to content

Commit 8a752c2

Browse files
committed
beep boop
1 parent a0b6868 commit 8a752c2

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

src/main/java/org/maxgamer/quickshop/shop/ContainerShop.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,12 @@ public UUID getTaxAccount() {
226226
if (plugin.getShopManager().getCacheTaxAccount() != null)
227227
return plugin.getShopManager().getCacheTaxAccount().getUniqueId();
228228
return null;
229+
230+
}
231+
@Override
232+
@Nullable
233+
public UUID getTaxAccountActual(){
234+
return taxAccount;
229235
}
230236

231237
@Override

src/main/java/org/maxgamer/quickshop/shop/Shop.java

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,13 +510,22 @@ default String[] getSignText() {
510510
void setDisableDisplay(boolean disabled);
511511

512512
/**
513-
* Getting the shop tax account, it can be specific uuid or general tax account
513+
* Getting the shop tax account for using, it can be specific uuid or general tax account
514514
*
515-
* @return Shop Tax Account, null if use general tax account
515+
* @return Shop Tax Account or fallback to general tax account
516516
*/
517517
@Nullable
518518
UUID getTaxAccount();
519519

520+
521+
/**
522+
* Getting the shop tax account, it can be specific uuid or general tax account
523+
*
524+
* @return Shop Tax Account, null if use general tax account
525+
*/
526+
527+
@Nullable
528+
UUID getTaxAccountActual();
520529
/**
521530
* Sets shop taxAccount
522531
*

0 commit comments

Comments
 (0)