Add portal.setOwner() API
This commit is contained in:
parent
de7134f0a4
commit
df12336c41
1
README
1
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
|
- 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)
|
- 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 Spanish (Thanks Manuestaire) and Hungarian (Thanks HPoltergeist)
|
||||||
|
- Added portal.setOwner(String) API
|
||||||
[Version 0.7.7.5]
|
[Version 0.7.7.5]
|
||||||
- Resolve issue of right clicking introduced in 1.3.1/2
|
- Resolve issue of right clicking introduced in 1.3.1/2
|
||||||
[Version 0.7.7.4]
|
[Version 0.7.7.4]
|
||||||
|
@ -288,6 +288,10 @@ public class Portal {
|
|||||||
return owner;
|
return owner;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setOwner(String owner) {
|
||||||
|
this.owner = owner;
|
||||||
|
}
|
||||||
|
|
||||||
public Blox[] getEntrances() {
|
public Blox[] getEntrances() {
|
||||||
if (entrances == null) {
|
if (entrances == null) {
|
||||||
RelativeBlockVector[] space = gate.getEntrances();
|
RelativeBlockVector[] space = gate.getEntrances();
|
||||||
|
Loading…
Reference in New Issue
Block a user