Fix ChunkWatchEvent not being fired (#8253)

This commit is contained in:
Dennis C authored and GitHub committed 2021-12-05 19:39:59 +00:00
1 parent aceb878a64
commit 456a48b12a
1 file changed
+1 -1
@@ -35,7 +35,7 @@
protected void m_183754_(ServerPlayer p_183755_, ChunkPos p_183756_, MutableObject<ClientboundLevelChunkWithLightPacket> p_183757_, boolean p_183758_, boolean p_183759_) {
if (p_183755_.f_19853_ == this.f_140133_) {
+ // tODO: net.minecraftforge.event.ForgeEventFactory.fireChunkWatch(p_140190_, p_140191_, p_140187_, p_140188_, this.level);
+ net.minecraftforge.event.ForgeEventFactory.fireChunkWatch(p_183758_, p_183759_, p_183755_, p_183756_, this.f_140133_);
if (p_183759_ && !p_183758_) {
ChunkHolder chunkholder = this.m_140327_(p_183756_.m_45588_());
if (chunkholder != null) {