Added permission for tax exemption

Closes #27
This commit is contained in:
Kai committed 2016-05-27 11:10:04 +02:00
1 parent 899eb70b84
commit 05bb79a102
1 file changed
+1 -1
@@ -459,7 +459,7 @@ public class ShopManager {
// themselves.
// Do charge an amount of tax though.
double tax = plugin.getConfig().getDouble("tax");
if (shop.getOwner().equals(p.getUniqueId())) {
if (shop.getOwner().equals(p.getUniqueId()) || p.hasPermission("quickshop.taxexemption")) {
tax = 0;
}