Fixed PurgePlayerHolder getPoints when remaining keys is 0.
Contributed by Serenitty.
This commit is contained in:
parent
456162234e
commit
bbd0f7f911
@ -34,6 +34,10 @@ public class PurgePlayerHolder
|
||||
|
||||
public int getPoints()
|
||||
{
|
||||
if (_remainingKeys == 0)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _points;
|
||||
}
|
||||
|
||||
|
@ -34,6 +34,10 @@ public class PurgePlayerHolder
|
||||
|
||||
public int getPoints()
|
||||
{
|
||||
if (_remainingKeys == 0)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _points;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user