geforkt von Mirrors/Paper
hasPermission should return correctly for undefined permissions
By: Dinnerbone <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
Ursprung
1caebea71d
Commit
43ddd8d84d
@ -93,7 +93,7 @@ public class PermissibleBase implements Permissible {
|
||||
} else if (perm != null) {
|
||||
return perm.getDefault().getValue(isOp());
|
||||
} else {
|
||||
return false;
|
||||
return Permission.DEFAULT_PERMISSION.getValue(isOp());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -5,7 +5,6 @@ import java.util.ArrayList;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Map.Entry;
|
||||
import java.util.Set;
|
||||
import java.util.logging.Level;
|
||||
import org.bukkit.Bukkit;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren