1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-19 18:33:00 +01:00

Arrow dupe fix

This commit is contained in:
nossr50
2021-01-07 13:36:54 -08:00
parent f38d92497a
commit ade6fb2c1d
2 changed files with 2 additions and 1 deletions

View File

@@ -141,7 +141,7 @@ public class EntityListener implements Listener {
projectile.setMetadata(mcMMO.bowForceKey, new FixedMetadataValue(pluginRef, Math.min(event.getForce() * AdvancedConfig.getInstance().getForceMultiplier(), 1.0)));
projectile.setMetadata(mcMMO.arrowDistanceKey, new FixedMetadataValue(pluginRef, projectile.getLocation()));
//Cleanup metadata in 1 minute in case normal collection falls through
CombatUtils.cleanupArrowMetadata((Projectile) projectile);
CombatUtils.delayArrowMetaCleanup((Projectile) projectile);
}
}