updated most dependencies

This commit is contained in:
TheLividaProject
2025-07-02 12:50:47 +01:00
parent c0ed740b47
commit c83fc4dd0a
22 changed files with 11 additions and 9 deletions

View File

@@ -21,10 +21,7 @@ public class GeyserModelEngineReloadCommand implements SubCommands {
return new CommandAPICommand("reload")
.withPermission("geysermodelengine.commands.reload")
.executes((sender, args) -> {
Bukkit.getAsyncScheduler().runNow(plugin, scheduledTask -> {
plugin.getConfigManager().load();
});
Bukkit.getAsyncScheduler().runNow(plugin, scheduledTask -> plugin.getConfigManager().load());
sender.sendMessage(colourUtils.miniFormat(plugin.getConfigManager().getLang().getString("commands.reload.successfully-reloaded")));
});
}

View File

@@ -61,7 +61,7 @@ public class ModelManager {
return entitiesCache;
}
public Map<Integer, ModelEntityData> getModelEntitiesCache() {
public ConcurrentHashMap<Integer, ModelEntityData> getModelEntitiesCache() {
return modelEntitiesCache;
}