Removed the dropLootonDeath member

This commit is contained in:
Tim Düsterhus 2011-07-28 14:26:37 +02:00
parent b303e8e540
commit 22e79c51f4
3 changed files with 0 additions and 22 deletions

View File

@ -70,7 +70,6 @@ public class War extends JavaPlugin {
private int defaultScoreCap = 10;
private int defaultMonumentHeal = 5;
private boolean defaultBlockHeads = true;
private boolean defaultDropLootOnDeath = false;
private boolean defaultFriendlyFire = false;
private boolean defaultAutoAssignOnly = false;
private boolean defaultUnbreakableZoneBlocks = false;
@ -785,14 +784,6 @@ public class War extends JavaPlugin {
this.defaultBlockHeads = defaultBlockHeads;
}
public boolean isDefaultDropLootOnDeath() {
return defaultDropLootOnDeath;
}
public void setDefaultDropLootOnDeath(boolean defaultDropLootOnDeath) {
this.defaultDropLootOnDeath = defaultDropLootOnDeath;
}
public boolean isDefaultFriendlyFire() {
return defaultFriendlyFire;
}

View File

@ -54,7 +54,6 @@ public class Warzone {
private ZoneLobby lobby;
private boolean autoAssignOnly;
private boolean blockHeads;
private boolean dropLootOnDeath;
private boolean unbreakableZoneBlocks;
private boolean disabled = false;
private boolean noCreatures;
@ -77,7 +76,6 @@ public class Warzone {
this.scoreCap = War.war.getDefaultScoreCap();
this.monumentHeal = War.war.getDefaultMonumentHeal();
this.setBlockHeads(War.war.isDefaultBlockHeads());
this.setDropLootOnDeath(War.war.isDefaultDropLootOnDeath());
this.setUnbreakableZoneBlocks(War.war.isDefaultUnbreakableZoneBlocks());
this.setNoCreatures(War.war.isDefaultNoCreatures());
this.setResetOnEmpty(War.war.isDefaultResetOnEmpty());
@ -945,14 +943,6 @@ public class Warzone {
return this.blockHeads;
}
public void setDropLootOnDeath(boolean dropLootOnDeath) {
this.dropLootOnDeath = dropLootOnDeath;
}
public boolean isDropLootOnDeath() {
return this.dropLootOnDeath;
}
public void setSpawnStyle(String spawnStyle) {
this.spawnStyle = spawnStyle;
for(Team team : this.teams) {

View File

@ -150,9 +150,6 @@ public class WarMapper {
// defaultNoCreatures
War.war.setDefaultNoCreatures(warConfig.getBoolean("defaultNoCreatures"));
// defaultDropLootOnDeath
// war.setDefaultDropLootOnDeath(warConfig.getBoolean("defaultDropLootOnDeath"));
// defaultResetOnEmpty
War.war.setDefaultResetOnEmpty(warConfig.getBoolean("defaultResetOnEmpty"));