Fixed Slow Rift Regeneration and Various Improvements #173

Merged
SenseiKiwi merged 12 commits from master into master 2014-07-11 20:12:08 +00:00
2 changed files with 3 additions and 5 deletions
Showing only changes of commit b197237dfd - Show all commits

View File

@@ -418,9 +418,8 @@ public abstract class NewDimData
return (target != null);
}
public boolean deleteLink(int x, int y, int z)
public boolean deleteLink(Point4D location)
{
Point4D location = new Point4D(x, y, z, id);
return this.deleteLink(this.getLink(location));
}

View File

@@ -171,8 +171,7 @@ public class PocketManager
public void onDeleted(ClientLinkData link)
{
Point4D source = link.point;
NewDimData dimension = getDimensionData(source.getDimension());
dimension.deleteLink(source.getX(), source.getY(), source.getZ());
getDimensionData(source.getDimension()).deleteLink(source);
}
}