commented changes

This commit is contained in:
nekosune committed 2014-03-06 23:53:10 +00:00
1 parent 080e960897
commit 8ffc7dfba0
1 file changed
+6 -4
@@ -107,11 +107,13 @@ public class ItemBloodSword extends ItemSword implements IRepairable {
ItemStack stack = player.getCurrentEquippedItem();
if (stack != null && stack.getItem() == this && stack.stackTagCompound!=null && stack.stackTagCompound.getInteger("Activated")==1) {
Aspect[] aspects = EnumMobAspect.getAspectsForEntity(event.entity);
ScanResult sr=new ScanResult((byte)2,0,0,event.entity,"");
AspectList as=ScanManager.getScanAspects(sr,event.entity.worldObj);
if(as!=null && as.size()!=0){
//ScanResult sr=new ScanResult((byte)2,0,0,event.entity,"");
//AspectList as=ScanManager.getScanAspects(sr,event.entity.worldObj);
//if(as!=null && as.size()!=0){
if(aspects!=null){
event.drops.removeAll(event.drops);
for(Aspect a:as.getAspects()){
//for(Aspect a:as.getAspects()){
for(Aspect a:aspects){
addDrops(event, ItemMobAspect.getStackFromAspect(a));
}
}