setName save fixed
This commit is contained in:
parent
8b5e3a4342
commit
0f4786958d
34
pom.xml
34
pom.xml
@ -33,23 +33,23 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<!--<plugin>-->
|
||||||
<artifactId>exec-maven-plugin</artifactId>
|
<!--<artifactId>exec-maven-plugin</artifactId>-->
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<!--<groupId>org.codehaus.mojo</groupId>-->
|
||||||
<version>1.2.1</version>
|
<!--<version>1.2.1</version>-->
|
||||||
<executions>
|
<!--<executions>-->
|
||||||
<execution>
|
<!--<execution>-->
|
||||||
<id>Run Test Bukkit Server</id>
|
<!--<id>Run Test Bukkit Server</id>-->
|
||||||
<phase>package</phase>
|
<!--<phase>package</phase>-->
|
||||||
<goals>
|
<!--<goals>-->
|
||||||
<goal>exec</goal>
|
<!--<goal>exec</goal>-->
|
||||||
</goals>
|
<!--</goals>-->
|
||||||
<configuration>
|
<!--<configuration>-->
|
||||||
<executable>${basedir}/scripts/test-deployment.sh</executable>
|
<!--<executable>${basedir}/scripts/test-deployment.sh</executable>-->
|
||||||
</configuration>
|
<!--</configuration>-->
|
||||||
</execution>
|
<!--</execution>-->
|
||||||
</executions>
|
<!--</executions>-->
|
||||||
</plugin>
|
<!--</plugin>-->
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
@ -179,10 +179,10 @@ public class Replicator implements ConfigurationSerializable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setName( String newName )
|
public void setName( String newName, String player )
|
||||||
{
|
{
|
||||||
this.name = newName;
|
this.name = newName;
|
||||||
//TODO: Save List
|
Replicator.saveReplicators(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getName()
|
public String getName()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user