🚧 Fixed :
- The suggestion when renaming a location was suggesting for a new name instead of the actual location
- The name of the singleplayer save is now obtained using a proper function
🧪 Dev :
- Simplified the code that obtains the dimension in which the player saved the location or died (called by
the
/set-location
command or thedeath event
)
✏️ Added :
- The
/rename-location
, that allows you to rename a location
🚧 Fixed :
- The
get-locations
command was not checking for the value ofALLOW_LOCATIONS
, so it was executed even if the option was set to OFF
🫧 Changed :
- Use CyanLib 0.3.5 (which allows me to remove the config commands from this mod, as they are now handled in the CyanLib)
- (Only uses the last version, it's just to separate the features of each version) Use CyanLib 0.4.1 (which adds screen for the configuration on the client, only in solo for now)
✏️ Added :
- The folders created by this mod are now removed if they are empty
🚧 Fixed :
- The Y and Z coordinates where reversed
- The locations and death position were saved in the same folder independently of the solo world the player was in
- Locations and BackTp systems now use thread-safe classes (
ConcurrentHashMap()
andCollections.synchronizedList()
) to prevent any problem with concurrent modifications (basically 2 people editing the homes (which then writes in the files) at the same time)
🫧 Changes :
- Use CyanLib 0.3.3
- Remove unnecessary modImplementation of the fabric api and use only the necessary apis
🚧 Fixed :
- When editing the config via commands (ex:
/cyan config allowBed set true
), 2 messgages were send, one sayingThe option ... has been set to ...
+ the message from the/cyan getConfig
command - When the game stopped and the backTp array was empty, instead of removing the file, an empty file was created