mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
fixing XP gains LOL
This commit is contained in:
parent
ad86db241c
commit
25c8dad1ea
@ -79,9 +79,10 @@ public class SelfListener implements Listener {
|
||||
if(WorldGuardUtils.isWorldGuardLoaded())
|
||||
{
|
||||
if(!WorldGuardManager.getInstance().hasXPFlag(player))
|
||||
{
|
||||
event.setRawXpGained(0);
|
||||
|
||||
event.setCancelled(true);
|
||||
event.setCancelled(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user