mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 02:55:17 +00:00
Fixed incorrect generic in PermissionAPI (#8317)
This commit is contained in:
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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user