mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-10-29 20:02:12 +00:00
Compare commits
3 Commits
bcf0f06fb9
...
c3103beea2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c3103beea2 | ||
|
|
f7dbd884f4 | ||
|
|
8c89462b0a |
@ -2,6 +2,7 @@ Version 2.2.036
|
||||
Fixed a bug where Chimaera Wing could cause an exception when used
|
||||
Fixed bug where Mob Spawners could drop in Blast Mining (thanks TomBock)
|
||||
Fixed Spectral Arrows not granting XP for Archery or Crossbows (thanks broccolai)
|
||||
Fixed bug where Trickshot arrows would lose their potion or custom effects
|
||||
Added locale strings for /mcmmo help command (thanks Griffeng)
|
||||
|
||||
Version 2.2.035
|
||||
|
||||
2
pom.xml
2
pom.xml
@ -2,7 +2,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
||||
<artifactId>mcMMO</artifactId>
|
||||
<version>2.2.036-SNAPSHOT</version>
|
||||
<version>2.2.037-SNAPSHOT</version>
|
||||
<name>mcMMO</name>
|
||||
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
||||
<scm>
|
||||
|
||||
@ -74,6 +74,16 @@ public class CrossbowsManager extends SkillManager {
|
||||
spawnedArrow.setPickupStatus(originalArrow.getPickupStatus());
|
||||
spawnedArrow.setKnockbackStrength(originalArrow.getKnockbackStrength());
|
||||
|
||||
if (originalArrow.getBasePotionType() != null) {
|
||||
spawnedArrow.setBasePotionType(originalArrow.getBasePotionType());
|
||||
}
|
||||
|
||||
if (originalArrow.hasCustomEffects()) {
|
||||
for (var effect : originalArrow.getCustomEffects()) {
|
||||
spawnedArrow.addCustomEffect(effect, true);
|
||||
}
|
||||
}
|
||||
|
||||
// copy metadata from old arrow
|
||||
ProjectileUtils.copyArrowMetadata(pluginRef, originalArrow, spawnedArrow);
|
||||
originalArrow.remove();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user