1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-29 14:05:25 +01:00

Update PermissionHandler.java

This commit is contained in:
montlikadani 2018-08-16 17:43:57 +02:00 committed by GitHub
parent f2c5a916d3
commit b3b771ee6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ public class PermissionHandler {
if (hasWorldPermission(player)) {
List<JobProgression> progression = jPlayer.getJobProgression();
// calculate new permissions
HashMap<String, Boolean> permissions = new HashMap<String, Boolean>();
HashMap<String, Boolean> permissions = new HashMap<>();
if (progression.size() == 0) {
Job job = Jobs.getNoneJob();