mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 08:29:05 +00:00
Revert "Merge remote-tracking branch 'origin/dev' into dev"
This reverts commit66edbcea80, reversing changes made to3fd962289c.
This commit is contained in:
1 parent
66edbcea80
commit
8d3cd3fd82
58 files changed
+780
-284
No files matched your search
@@ -250,7 +250,7 @@ public class JobSpawner extends JobInterface{
|
||||
return null;
|
||||
}
|
||||
|
||||
private boolean isEmpty(){
|
||||
public boolean isEmpty(){
|
||||
if(compound1 != null && compound1.hasKey("id"))
|
||||
return false;
|
||||
if(compound2 != null && compound2.hasKey("id"))
|
||||
@@ -365,7 +365,7 @@ public class JobSpawner extends JobInterface{
|
||||
return living;
|
||||
}
|
||||
|
||||
private NBTTagCompound getCompound(int i) {
|
||||
public NBTTagCompound getCompound(int i) {
|
||||
if(i <= 1 && compound1 != null && compound1.hasKey("id")){
|
||||
number = 1;
|
||||
return compound1;
|
||||
@@ -394,7 +394,7 @@ public class JobSpawner extends JobInterface{
|
||||
}
|
||||
|
||||
|
||||
private List<EntityLivingBase> getNearbySpawned(){
|
||||
public List<EntityLivingBase> getNearbySpawned(){
|
||||
List<EntityLivingBase> spawnList = new ArrayList<EntityLivingBase>();
|
||||
List<EntityLivingBase> list = npc.worldObj.getEntitiesWithinAABB(EntityLivingBase.class, npc.boundingBox.expand(40, 40, 40));
|
||||
for(EntityLivingBase entity : list){
|
||||
|
||||
Reference in new issue
Block a user