Add portal.setOwner() API

This commit is contained in:
Steven Scott 2012-09-16 16:30:25 -07:00
parent de7134f0a4
commit df12336c41
2 changed files with 5 additions and 0 deletions

1
README
View File

@ -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]

View File

@ -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();