Check if player has permission to interact with the villager

This commit is contained in:
stjn committed 2021-11-10 15:18:14 +01:00
1 parent 47405bdcb7
commit 4a0c48a2c3
2 files changed
+9

No files matched your search

@@ -56,4 +56,8 @@ public class VillagerType {
public double getPriceModifier() {
return priceModifier;
}
public String getPermission() {
return "villagerui.villager." + getName();
}
}