mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-26 02:13:04 +00:00
Scripting Ability Handling Improvement and Copy Data
This commit is contained in:
1 parent
50fd3c1856
commit
90735e6866
14 files changed
+71
-30
No files matched your search
@@ -147,7 +147,7 @@ public class EntityAbilityBeam extends EntityEnergyProjectile {
|
||||
|
||||
// Beam-specific properties from homing data
|
||||
|
||||
this.homingData = homing;
|
||||
this.homingData = homing != null ? homing.copy() : new EnergyHomingData();
|
||||
this.beamWidth = beamWidth;
|
||||
this.headSize = headSize;
|
||||
|
||||
|
||||
Reference in new issue
Block a user