Check if player has permission to interact with the villager

This commit is contained in:
stjn
2021-11-10 15:18:14 +01:00
parent 47405bdcb7
commit 4a0c48a2c3
2 changed files with 9 additions and 0 deletions
@@ -56,4 +56,8 @@ public class VillagerType {
public double getPriceModifier() {
return priceModifier;
}
public String getPermission() {
return "villagerui.villager." + getName();
}
}