Update models.py to correct Donor LP group reference #20

Open
benamaurer wants to merge 1 commits from benamaurer/minecraft_manager:benamaurer-donor-update into master
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ class Player(models.Model):
try:
from django_luckperms.models import LuckPermsPlayerPermissions as lppp
donator = lppp.objects.filter(permission='group.donator', uuid=self.uuid)
donator = lppp.objects.filter(permission='group.donor', uuid=self.uuid)
if donator.exists():
expiry = donator.first().expiry
if expiry > 0: