Compare commits
1 Commits
master
...
benamaurer
Author | SHA1 | Date |
---|---|---|
benamaurer | d076b7c05f |
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue