Keys are now saved after changing them
This commit is contained in:
parent
13c1939fe8
commit
a314d09575
@ -26,7 +26,7 @@ import com.redstoner.modules.Module;
|
|||||||
*
|
*
|
||||||
* @author Pepich */
|
* @author Pepich */
|
||||||
@AutoRegisterListener
|
@AutoRegisterListener
|
||||||
@Version(major = 1, minor = 1, revision = 11, compatible = 1)
|
@Version(major = 1, minor = 2, revision = 0, compatible = 1)
|
||||||
public class Chatgroups implements Module, Listener
|
public class Chatgroups implements Module, Listener
|
||||||
{
|
{
|
||||||
private static final char defaultKey = ':';
|
private static final char defaultKey = ':';
|
||||||
@ -188,6 +188,7 @@ public class Chatgroups implements Module, Listener
|
|||||||
}
|
}
|
||||||
Utils.sendMessage(sender, null, "Set your key to §6" + key);
|
Utils.sendMessage(sender, null, "Set your key to §6" + key);
|
||||||
keys.put(((Player) sender).getUniqueId().toString(), key + "");
|
keys.put(((Player) sender).getUniqueId().toString(), key + "");
|
||||||
|
saveKeys();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user