From df12336c41b17f58e4532eca8a1990f179a547f8 Mon Sep 17 00:00:00 2001 From: Steven Scott Date: Sun, 16 Sep 2012 16:30:25 -0700 Subject: [PATCH] Add portal.setOwner() API --- README | 1 + src/net/TheDgtl/Stargate/Portal.java | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/README b/README index 3b700c7..59f8766 100644 --- a/README +++ b/README @@ -220,6 +220,7 @@ Client randomly crashes on teleport. - New command "/sg about", will list the author of the current language file if available - Language now has a fallback to English for missing lines (It's the only language I can personally update on release) - Added Spanish (Thanks Manuestaire) and Hungarian (Thanks HPoltergeist) + - Added portal.setOwner(String) API [Version 0.7.7.5] - Resolve issue of right clicking introduced in 1.3.1/2 [Version 0.7.7.4] diff --git a/src/net/TheDgtl/Stargate/Portal.java b/src/net/TheDgtl/Stargate/Portal.java index 489752f..bb70646 100644 --- a/src/net/TheDgtl/Stargate/Portal.java +++ b/src/net/TheDgtl/Stargate/Portal.java @@ -288,6 +288,10 @@ public class Portal { return owner; } + public void setOwner(String owner) { + this.owner = owner; + } + public Blox[] getEntrances() { if (entrances == null) { RelativeBlockVector[] space = gate.getEntrances();