mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-03 04:16:19 -04:00
Temporary command error fix
This commit is contained in:
@@ -492,6 +492,9 @@ public class CommandService implements INetworkDispatch {
|
||||
else
|
||||
weapon = (WeaponObject) core.objectService.getObject(attacker.getWeaponId());
|
||||
|
||||
if(weapon == null)
|
||||
weapon = (WeaponObject) attacker.getSlottedObject("default_weapon");
|
||||
|
||||
float maxRange = 0;
|
||||
|
||||
if(command.getMaxRange() == 0)
|
||||
|
||||
Reference in New Issue
Block a user