Skip to content

Commit 1611034

Browse files
authored
Merge pull request #319 from FTBTeam/1.19/dev
1.19/dev
2 parents bbb0c66 + 8712a9f commit 1611034

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Diff for: CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1902.4.7]
8+
9+
### Fixed
10+
* Fixed Mob Griefing team setting (enderman block stealing protection) not functioning correctly
11+
712
## [1902.4.6]
813

914
### Fixed

Diff for: forge/src/main/java/dev/ftb/mods/ftbchunks/forge/FTBChunksForge.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import net.minecraftforge.common.world.ForgeChunkManager;
1515
import net.minecraftforge.event.entity.EntityMobGriefingEvent;
1616
import net.minecraftforge.event.entity.player.PlayerInteractEvent;
17+
import net.minecraftforge.eventbus.api.Event;
1718
import net.minecraftforge.fml.common.Mod;
1819
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
1920

@@ -58,7 +59,7 @@ private void mobGriefing(EntityMobGriefingEvent event) {
5859
ClaimedChunk cc = FTBChunksAPI.getManager().getChunk(new ChunkDimPos(event.getEntity()));
5960

6061
if (cc != null && !cc.allowMobGriefing()) {
61-
event.setCanceled(true);
62+
event.setResult(Event.Result.DENY);
6263
}
6364
}
6465
}

Diff for: gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ org.gradle.daemon=false
55
mod_id=ftbchunks
66
archives_base_name=ftb-chunks
77
maven_group=dev.ftb.mods
8-
mod_version=1902.4.6
8+
mod_version=1902.4.7
99
mod_author=FTB Team
1010
minecraft_version=1.19.2
1111
forge_version=43.2.8

0 commit comments

Comments
 (0)