mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 23:26:45 +01:00
Forgot to change this to pull from the config file
This commit is contained in:
parent
c915bb8312
commit
470b29c229
@ -78,7 +78,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