Skip to content

Commit

Permalink
fix: fixed #22
Browse files Browse the repository at this point in the history
  • Loading branch information
engsr6982 committed Feb 9, 2025
1 parent 2cf80b3 commit 68f53ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plotcraft/event/Event.cc
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ bool registerEventListener() {
});

mFireSpreadEvent = bus->emplaceListener<ll::event::FireSpreadEvent>([db](ll::event::FireSpreadEvent& ev) {
if (ev.blockSource().getDimensionId().id != getPlotWorldDimensionId()) return true;
auto const& pos = ev.pos();
auto pps = PlotPos(pos);
auto const meta = db->getPlot(pps.getPlotID());
Expand Down

0 comments on commit 68f53ae

Please sign in to comment.