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); 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)); return this.deleteLink(this.getLink(location));
} }

View File

@@ -171,9 +171,8 @@ public class PocketManager
public void onDeleted(ClientLinkData link) public void onDeleted(ClientLinkData link)
{ {
Point4D source = link.point; Point4D source = link.point;
NewDimData dimension = getDimensionData(source.getDimension()); getDimensionData(source.getDimension()).deleteLink(source);
dimension.deleteLink(source.getX(), source.getY(), source.getZ()); }
}
} }
private static class ClientDimWatcher implements IUpdateWatcher<ClientDimData> private static class ClientDimWatcher implements IUpdateWatcher<ClientDimData>