setGroup method in API not working correctly. #382


  • New
  • Defect
Open
  • _ForgeUser7702279 created this issue Aug 10, 2012

    Describe to us the issue that you're having:

    I have a plugin that hooks into bPermissions and uses the setGroup method to, obviously, set the group of a player. Previous versions of bPermissions (2.9.12c and below) worked fine with this. In recent version when my plugin calls setGroup a player must either relog or change worlds for the change to take affect.

    Which steps will reproduce this problem?:

    1) bPermissions v2.9.12d or greater.

    2) Hook into API and call setGroup.

    3) Try to use permissions in newly assigned group.

    Do you have an error log of what happened?

    There is no error.

    Which version of bPermissions are you using?: (Please don't say "latest"!!!)

    v2.9.14

    Which version of CraftBukkit?: (Please don't say "latest"!!!)

    CB b2325

    Which OS?

    Tested on Ubuntu and Windows.

    Any other information we may need (plugins, configs, etc):

    This is what I am using:

    ApiLayer.setGroup(worldName, CalculableType.USER, playerToRankName, data[1]);
    

    Please fill out this form properly! Failing to do so may result in your ticket being marked invalid.

  • _ForgeUser7702279 added the tags New Defect Aug 10, 2012
  • _ForgeUser7702279 edited description Aug 10, 2012

To post a comment, please login or register a new account.