Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
matcool committed Dec 27, 2024
1 parent 578d855 commit 11f02f1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions include/TextureLoader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ namespace impl {

inline std::vector<Pack> getAvailablePacks() {
std::vector<Pack> result;
log::debug("sending event!");
impl::EventGetAvailablePacks("geode.texture-loader/v1/get-available-packs", &result).post();
log::debug("ok sent event!");
return result;
}

Expand Down
1 change: 0 additions & 1 deletion src/API.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ ext::Pack convertPack(std::shared_ptr<Pack> const& pack) {

$execute {
new EventListener(+[](std::vector<ext::Pack>* res) {
log::debug("received event!");
*res = utils::ranges::map<std::vector<ext::Pack>>(PackManager::get()->getAvailablePacks(), convertPack);
return ListenerResult::Stop;
}, ToFilter<ext::impl::EventGetAvailablePacks>("geode.texture-loader/v1/get-available-packs"));
Expand Down

0 comments on commit 11f02f1

Please sign in to comment.