mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-14 00:14:09 +00:00
Fix Spawn when Summoner Dies and not Respawnable
This commit is contained in:
1 parent
e044889b33
commit
32aca44443
1 file changed
+18
-2
@@ -321,9 +321,25 @@ public class JobSpawner extends JobInterface{
|
||||
target = null;
|
||||
checkSpawns();
|
||||
}
|
||||
@Override
|
||||
|
||||
@Override
|
||||
public void delete() {
|
||||
if(spawnType == 3 && npc.stats.spawnCycle == 3){
|
||||
spawnEntity(compound1);
|
||||
spawnEntity(compound2);
|
||||
spawnEntity(compound3);
|
||||
spawnEntity(compound4);
|
||||
spawnEntity(compound5);
|
||||
spawnEntity(compound6);
|
||||
number = 6;
|
||||
}
|
||||
reset();
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void killed() {
|
||||
if(spawnType == 3){
|
||||
if(spawnType == 3 && npc.stats.spawnCycle != 3){
|
||||
spawnEntity(compound1);
|
||||
spawnEntity(compound2);
|
||||
spawnEntity(compound3);
|
||||
|
||||
Reference in new issue
Block a user