mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Removed exp gain when an arrow strikes its shooter
This commit is contained in:
parent
9b3838b912
commit
c2b4961b8d
@ -38,6 +38,7 @@ Version 1.3.07
|
|||||||
! Changed the permission node for Blast Mining detonation to mcmmo.ability.blastmining.detonate (was mcmmo.skills.blastmining) for the sake of consistency
|
! Changed the permission node for Blast Mining detonation to mcmmo.ability.blastmining.detonate (was mcmmo.skills.blastmining) for the sake of consistency
|
||||||
! Changed skill commands to only display what you have permissions for
|
! Changed skill commands to only display what you have permissions for
|
||||||
! Changed mcMMO to use a new storage system for player placed blocks
|
! Changed mcMMO to use a new storage system for player placed blocks
|
||||||
|
- Removed the experience granted when an arrow strikes its shooter
|
||||||
- Removed some unused permission nodes
|
- Removed some unused permission nodes
|
||||||
- Removed a few config options in favor of permissions nodes (Hunger Bonus, Armor/Tool Repair, Instant Wheat Regrowth)
|
- Removed a few config options in favor of permissions nodes (Hunger Bonus, Armor/Tool Repair, Instant Wheat Regrowth)
|
||||||
- Removed level requirement for repairing string tools from the config file
|
- Removed level requirement for repairing string tools from the config file
|
||||||
|
@ -288,7 +288,9 @@ public class Combat {
|
|||||||
Archery.trackArrows(pluginx, target, PPa);
|
Archery.trackArrows(pluginx, target, PPa);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (target != attacker) {
|
||||||
startGainXp(attacker, PPa, target, SkillType.ARCHERY, pluginx);
|
startGainXp(attacker, PPa, target, SkillType.ARCHERY, pluginx);
|
||||||
|
}
|
||||||
|
|
||||||
if (target instanceof Player) {
|
if (target instanceof Player) {
|
||||||
if (permInstance.daze(attacker)) {
|
if (permInstance.daze(attacker)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user