Sitelet https://github.com/RocketModFix/RocketModFix/issues/51
Skip to content

Invalid Permissions file cause exception #51

Description

@sunnamed434

Simple put try catches to let user know what's going on there

Logs:

An error occured while executing p [reload]: System.NullReferenceException: Object reference not set to an instance of an object
  at Rocket.Core.Permissions.RocketPermissionsManager.HasPermission (Rocket.API.IRocketPlayer player, System.Collections.Generic.List`1[T] permissions) [0x00000] in <2b8ee4b602174810b7294320f1aecbc4>:0 
  at Rocket.API.IRocketPermissionsProviderExtensions.HasPermission (Rocket.API.IRocketPermissionsProvider rocketPermissionProvider, Rocket.API.IRocketPlayer player, System.String permission) [0x0000e] in <dc29ebecb51045f78222d0d1b7c35be1>:0 
  at Rocket.API.IRocketPlayerExtension.HasPermission (Rocket.API.IRocketPlayer player, System.String permission) [0x00000] in <2b8ee4b602174810b7294320f1aecbc4>:0 
  at Rocket.Unturned.Commands.CommandP.Execute (Rocket.API.IRocketPlayer caller, System.String[] command) [0x0001a] in <6eb2810103134c78ad34dadb335a4f18>:0 
  at Rocket.Core.Commands.RocketCommandManager+RegisteredRocketCommand.Execute (Rocket.API.IRocketPlayer caller, System.String[] command) [0x00000] in <2b8ee4b602174810b7294320f1aecbc4>:0 
  at Rocket.Core.Commands.RocketCommandManager.Execute (Rocket.API.IRocketPlayer player, System.String command) [0x00176] in <2b8ee4b602174810b7294320f1aecbc4>:0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions