This commit is contained in:
fullwall 2012-05-27 16:31:08 +08:00
parent 06ba12c22e
commit 10543438bd

View File

@ -52,7 +52,7 @@ public class Settings {
DEFAULT_LOOK_CLOSE("npc.default.look-close", false), DEFAULT_LOOK_CLOSE("npc.default.look-close", false),
DEFAULT_RANDOM_TALKER("npc.default.random-talker", true), DEFAULT_RANDOM_TALKER("npc.default.random-talker", true),
DEFAULT_TALK_CLOSE("npc.default.talk-close", false), DEFAULT_TALK_CLOSE("npc.default.talk-close", false),
DEFAULT_TEXT("npc.default.text.0", Lists.newArrayList("Hi, I'm <npc>!")) { DEFAULT_TEXT("npc.default.text.0", "Hi, I'm <npc>!") {
@Override @Override
public void load(DataKey root) { public void load(DataKey root) {
List<String> list = new ArrayList<String>(); List<String> list = new ArrayList<String>();
@ -60,11 +60,6 @@ public class Settings {
list.add(key.getString("")); list.add(key.getString(""));
value = list; value = list;
} }
@Override
public void set(DataKey root) {
root.setString("npc.default.text.0", "Hi, I'm <npc>!");
}
}, },
QUICK_SELECT("npc.selection.quick-select", false), QUICK_SELECT("npc.selection.quick-select", false),
SELECTION_ITEM("npc.selection.item", "280"), SELECTION_ITEM("npc.selection.item", "280"),