From 0f4786958d224d3d93f6a123728dd75eefeca64d Mon Sep 17 00:00:00 2001 From: Mochaccino Date: Tue, 19 Mar 2013 19:20:21 +0100 Subject: [PATCH] setName save fixed --- pom.xml | 34 +++++++++---------- .../de/craftinc/replicator/Replicator.java | 4 +-- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/pom.xml b/pom.xml index 87b0758..1e88b9d 100644 --- a/pom.xml +++ b/pom.xml @@ -33,23 +33,23 @@ - - exec-maven-plugin - org.codehaus.mojo - 1.2.1 - - - Run Test Bukkit Server - package - - exec - - - ${basedir}/scripts/test-deployment.sh - - - - + + + + + + + + + + + + + + + + + diff --git a/src/main/java/de/craftinc/replicator/Replicator.java b/src/main/java/de/craftinc/replicator/Replicator.java index af1cddf..ebc004f 100644 --- a/src/main/java/de/craftinc/replicator/Replicator.java +++ b/src/main/java/de/craftinc/replicator/Replicator.java @@ -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()