setName save fixed
This commit is contained in:
parent
8b5e3a4342
commit
0f4786958d
34
pom.xml
34
pom.xml
@ -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>
|
||||
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user