mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-01-03 06:37:47 +01:00
Fixed default config
This commit is contained in:
parent
464daef7a8
commit
95e3d5fef4
@ -106,7 +106,7 @@ public class ItemUse implements Listener {
|
||||
final ItemStack weaponUsed = player.getInventory().getItem(((MeleeAttackMetadata) event.getAttack()).getHand().toBukkit());
|
||||
final NBTItem item = MythicLib.plugin.getVersion().getWrapper().getNBTItem(weaponUsed);
|
||||
final Type itemType = Type.get(item);
|
||||
if (itemType == Type.BLOCK) return;
|
||||
if (itemType == null || itemType == Type.BLOCK) return;
|
||||
|
||||
// Prevent melee attacks with non-melee weapons
|
||||
if (!itemType.hasMeleeAttacks()) {
|
||||
|
@ -65,7 +65,6 @@ default-item-capacity:
|
||||
default:
|
||||
attack-speed: 0.67
|
||||
range: 16
|
||||
blunt-rating: 33
|
||||
recoil: 0.1
|
||||
|
||||
# Restart server when changing this option
|
||||
|
@ -1,6 +1,6 @@
|
||||
FIGHTING_GAUNTLETS:
|
||||
base:
|
||||
material: IRON_HORSE_ARMOR
|
||||
material: IRON_SHOVEL
|
||||
lore:
|
||||
- §7Tired of breaking your bones when
|
||||
- §7doing hand-to-hand combat?
|
||||
|
Loading…
Reference in New Issue
Block a user