Fixed incorrect generic in PermissionAPI (#8317)

This commit is contained in:
JTK222 authored and GitHub committed 2021-12-22 13:22:16 +00:00
1 parent 2f5f696b68
commit 0320c185b5
2 files changed
+3 -3

No files matched your search

@@ -94,7 +94,7 @@ public class PermissionTest
* Without that, the expected UnregisteredPermissionNode exception, triggers further exceptions and therefore isn't visible anymore.
* This is only required to handle the intended error in the permission API, and should not be necessary with correct use.
*/
private static boolean canUseCommand(CommandSourceStack src, PermissionNode<Boolean> booleanPermission, PermissionDynamicContext<? extends StringRepresentable>... context)
private static boolean canUseCommand(CommandSourceStack src, PermissionNode<Boolean> booleanPermission, PermissionDynamicContext<?>... context)
{
try
{