setName save fixed

This commit is contained in:
Mochaccino 2013-03-19 19:20:21 +01:00
parent 8b5e3a4342
commit 0f4786958d
2 changed files with 19 additions and 19 deletions

34
pom.xml
View File

@ -33,23 +33,23 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>exec-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
<version>1.2.1</version>
<executions>
<execution>
<id>Run Test Bukkit Server</id>
<phase>package</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>${basedir}/scripts/test-deployment.sh</executable>
</configuration>
</execution>
</executions>
</plugin>
<!--<plugin>-->
<!--<artifactId>exec-maven-plugin</artifactId>-->
<!--<groupId>org.codehaus.mojo</groupId>-->
<!--<version>1.2.1</version>-->
<!--<executions>-->
<!--<execution>-->
<!--<id>Run Test Bukkit Server</id>-->
<!--<phase>package</phase>-->
<!--<goals>-->
<!--<goal>exec</goal>-->
<!--</goals>-->
<!--<configuration>-->
<!--<executable>${basedir}/scripts/test-deployment.sh</executable>-->
<!--</configuration>-->
<!--</execution>-->
<!--</executions>-->
<!--</plugin>-->
</plugins>
</build>

View File

@ -179,10 +179,10 @@ public class Replicator implements ConfigurationSerializable
return false;
}
public void setName( String newName )
public void setName( String newName, String player )
{
this.name = newName;
//TODO: Save List
Replicator.saveReplicators(player);
}
public String getName()