mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-02 14:38:56 +00:00
siege admin command changes
This commit is contained in:
1 parent
9adaa4bc94
commit
e7c7836a21
3 files changed
+48
-24
No files matched your search
@@ -9,6 +9,7 @@ import com.palmergames.bukkit.towny.object.Nation;
|
||||
import com.palmergames.bukkit.towny.object.Resident;
|
||||
import com.palmergames.bukkit.towny.TownyUniverse;
|
||||
import com.palmergames.bukkit.towny.TownyAPI;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
import com.palmergames.bukkit.towny.exceptions.NotRegisteredException;
|
||||
import com.palmergames.bukkit.towny.object.WorldCoord;
|
||||
@@ -408,12 +409,12 @@ public class Siege {
|
||||
this.town = town;
|
||||
}
|
||||
|
||||
public Player getSiegeOwner() {
|
||||
return siegeOwner;
|
||||
public OfflinePlayer getSiegeOwner() {
|
||||
return siegeLeader;
|
||||
}
|
||||
|
||||
public void setSiegeOwner(Player siegeOwner) {
|
||||
this.siegeOwner = siegeOwner;
|
||||
public void setSiegeOwner(OfflinePlayer siegeOwner) {
|
||||
this.siegeLeader = siegeOwner;
|
||||
}
|
||||
|
||||
/** Gets attacker name string */
|
||||
@@ -446,10 +447,6 @@ public class Siege {
|
||||
return maxSiegeTicks;
|
||||
}
|
||||
|
||||
public void setMaxSiegeTicks(int maxSiegeTicks) {
|
||||
this.maxSiegeTicks = maxSiegeTicks;
|
||||
}
|
||||
|
||||
public void setSiegeTicks(int siegeTicks) {
|
||||
this.siegeTicks = siegeTicks;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user