Merge pull request #79 from mysteryworlds/hotfix/prevent-recursive-death

Fix recursive call, default AddTransient should just call addTransient for the global method.
This commit is contained in:
Nick Minkler 2019-10-18 10:39:02 -07:00 committed by GitHub
commit 4c248aad62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -248,7 +248,7 @@ public abstract class Permission {
* @return Success or Failure
*/
public boolean playerAddTransient(String worldName, OfflinePlayer player, String permission) {
return playerAddTransient(worldName, player, permission);
return playerAddTransient(player, permission);
}
/**