diff --git a/Projects/Server/Mobiles/Mobile.cs b/Projects/Server/Mobiles/Mobile.cs index 2677a6051..c86ef7a40 100644 --- a/Projects/Server/Mobiles/Mobile.cs +++ b/Projects/Server/Mobiles/Mobile.cs @@ -738,7 +738,7 @@ namespace Server var weapon = Weapon; - if (!InRange(combatant, weapon.MaxRange)) + if (weapon == null || !InRange(combatant, weapon.MaxRange)) { return; } diff --git a/Projects/UOContent/Items/Weapons/Fists.cs b/Projects/UOContent/Items/Weapons/Fists.cs index 4a4696987..5d2ccecd1 100644 --- a/Projects/UOContent/Items/Weapons/Fists.cs +++ b/Projects/UOContent/Items/Weapons/Fists.cs @@ -35,7 +35,7 @@ namespace Server.Items public override WeaponType DefType => WeaponType.Fists; public override WeaponAnimation DefAnimation => WeaponAnimation.Wrestle; - public static void Initialize() + public static void Configure() { Mobile.DefaultWeapon = new Fists();