mirror of
https://github.com/Oth3r/Sit.git
synced 2025-09-20 00:13:21 +02:00
switch to OtterLib file registry
This commit is contained in:
parent
9ac4cd5156
commit
65f7f6f6e0
5 changed files with 33 additions and 34 deletions
|
@ -204,7 +204,7 @@ public class Logic {
|
|||
}
|
||||
|
||||
/**
|
||||
* toggles the sit ablity config option
|
||||
* toggles the sit ability config option
|
||||
* @return returns a message, that can be sent to the player
|
||||
*/
|
||||
public static MutableText toggleSiting() {
|
||||
|
@ -213,9 +213,6 @@ public class Logic {
|
|||
SittingConfig config = FileData.getSittingConfig();
|
||||
// toggle the setting
|
||||
config.setEnabled(!config.getEnabled());
|
||||
|
||||
// set the sitting config to the new value
|
||||
FileData.setSittingConfig(config);
|
||||
// save the changes to the file
|
||||
config.save();
|
||||
// send the changes to the server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue