Daily limits for VIPs not being used right

Real weird issue.

When using NTeleport with VIP Permission everything works well. Im Using Homes and TPR with extra VIP Permission for more Usage, Cooldowns etc.

 

But there is 1 case nothing makes sense. If you are in a VIP Group which has Permissions to nteleportation.vip and make /tpr, it counts the Limits from "DailyLimits" not from "VIPDailyLimits" and if you are a normal Player in default Group it counts from "VIPDailyLimits":

"TPR": {
"Cooldown": 300,
"Countdown": 25,
"DailyLimit": 50,
"VIPDailyLimits": {
"nteleportation.vip": 200
},

 

defaults group hanst permission to VIP Perm. VIP Group has. AND IT WORKS WITH HOMES!

 

"Home": {
"HomesLimit": 3,
"VIPHomesLimits": {
"nteleportation.vip": 5
},
"Cooldown": 180,
"Countdown": 20,
"DailyLimit": 100,
"VIPDailyLimits": {
"nteleportation.vip": 500
},

 

Here the limits work! So it must be somewhere a bug in the Plugin but i didnt managed to figure it out.


Any help?

 

Ah and additionally.

 

If you just exchange the values on TPR (50 for VIP and 200 for normal Players) both of the Player Groups get 200 TPR.

Any other Value works as expected on all Teleport Functions (Cooldown, Countdown etc.).

Yeah, on first pass that's pretty weird.  Not noticing any inconsistency so far in the code.
Me neither but its a fact that its not working ppbly :)
yes it seems it works backwards in code