mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-02 08:39:49 +01:00
Forgot to change this to pull from the config file
This commit is contained in:
parent
c915bb8312
commit
470b29c229
@ -77,7 +77,6 @@ public class mcPlayerListener implements Listener
|
|||||||
{
|
{
|
||||||
plugin = instance;
|
plugin = instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@EventHandler(ignoreCancelled = true)
|
@EventHandler(ignoreCancelled = true)
|
||||||
public void onSheepUndressing(PlayerShearEntityEvent event)
|
public void onSheepUndressing(PlayerShearEntityEvent event)
|
||||||
@ -86,7 +85,7 @@ public class mcPlayerListener implements Listener
|
|||||||
if(mcPermissions.getInstance().taming(player))
|
if(mcPermissions.getInstance().taming(player))
|
||||||
{
|
{
|
||||||
PlayerProfile PP = Users.getProfile(player);
|
PlayerProfile PP = Users.getProfile(player);
|
||||||
PP.addXP(SkillType.TAMING, 100, player);
|
PP.addXP(SkillType.TAMING, LoadProperties.mshearing, player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user