forked from Minecraft/minecraft_manager
Compare commits
No commits in common. "benamaurer-donor-update" and "master" have entirely different histories.
benamaurer
...
master
|
@ -128,7 +128,7 @@ class Player(models.Model):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from django_luckperms.models import LuckPermsPlayerPermissions as lppp
|
from django_luckperms.models import LuckPermsPlayerPermissions as lppp
|
||||||
donator = lppp.objects.filter(permission='group.donor', uuid=self.uuid)
|
donator = lppp.objects.filter(permission='group.donator', uuid=self.uuid)
|
||||||
if donator.exists():
|
if donator.exists():
|
||||||
expiry = donator.first().expiry
|
expiry = donator.first().expiry
|
||||||
if expiry > 0:
|
if expiry > 0:
|
||||||
|
|
Loading…
Reference in New Issue