Various fixes

This commit is contained in:
StevenRS11
2013-11-07 00:28:40 -05:00
parent f2f1ee7af9
commit bb7cd95dcc
12 changed files with 36 additions and 17 deletions

View File

@@ -4,7 +4,6 @@ import java.util.LinkedList;
import java.util.List;
import StevenDimDoors.mod_pocketDim.util.Point4D;
@Deprecated
public abstract class DimLink
{
protected Point4D source;

View File

@@ -337,7 +337,11 @@ public abstract class NewDimData
{
linkList.remove(target);
//Raise deletion event
linkWatcher.onDeleted(target.source);
//TODO why is source null here?
if(target.source!=null)
{
linkWatcher.onDeleted(target.source);
}
target.clear();
}
return (target != null);