Minor Changes
Fixed up a few spots to clear some warnings.
This commit is contained in:
parent
972a67de76
commit
805e9dd040
2 changed files with 3 additions and 9 deletions
|
@ -2,7 +2,6 @@ package StevenDimDoors.mod_pocketDim.commands;
|
|||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet;
|
||||
import java.util.Stack;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import StevenDimDoors.mod_pocketDim.core.DimLink;
|
||||
|
|
|
@ -581,10 +581,7 @@ public abstract class NewDimData
|
|||
{
|
||||
return parent.packDepth + 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
public void initializePocket(int originX, int originY, int originZ, int orientation, DimLink incoming)
|
||||
|
@ -621,10 +618,7 @@ public abstract class NewDimData
|
|||
{
|
||||
return linkList.get(random.nextInt(linkList.size()));
|
||||
}
|
||||
else
|
||||
{
|
||||
return linkList.get(0);
|
||||
}
|
||||
return linkList.get(0);
|
||||
}
|
||||
|
||||
public boolean isModified()
|
||||
|
@ -637,6 +631,7 @@ public abstract class NewDimData
|
|||
this.modified = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return "DimID= " + this.id;
|
||||
|
|
Loading…
Add table
Reference in a new issue