diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c26fc9..3e0e41a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +**1.1.20** +* Update to 20w12a + **1.1.19** * Update API Docs * Allow Setting Custom Display name for Spell diff --git a/gradle.properties b/gradle.properties index 1d64e29..482a4cf 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,20 +3,20 @@ org.gradle.jvmargs = -Xmx1G # Fabric Properties # check these on https://fabricmc.net/use - minecraft_version = 20w11a + minecraft_version = 20w12a curseforge_id = 365308 simple_minecraft_version = 1.16-Snapshot - yarn_mappings = 20w11a+build.17 + yarn_mappings = 20w12a+build.3 fabric_loader_version = 0.7.8+build.187 # Mod Properties - mod_version = 1.1.19 + mod_version = 1.1.20 maven_group = com.thebrokenrail archives_base_name = sorcerycraft # Dependencies # currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api - fabric_api_version = 0.5.3+build.308-1.16 - cloth_config_version = 3.0.2-unstable.202003090708 + fabric_api_version = 0.5.5+build.311-1.16 + cloth_config_version = 3.1.0-unstable auto_config_version = 1.2.4 mod_menu_version = 1.10.2+build.1 diff --git a/src/main/java/com/thebrokenrail/sorcerycraft/spell/CoolingSpell.java b/src/main/java/com/thebrokenrail/sorcerycraft/spell/CoolingSpell.java index 835a142..8c21070 100644 --- a/src/main/java/com/thebrokenrail/sorcerycraft/spell/CoolingSpell.java +++ b/src/main/java/com/thebrokenrail/sorcerycraft/spell/CoolingSpell.java @@ -23,12 +23,12 @@ public class CoolingSpell extends Spell { @Override public void execute(World world, Entity source, Entity attacker, BlockHitResult hitResult) { BlockPos blockPos = hitResult.getBlockPos(); - if (world.getBlockState(blockPos).matches(BlockTags.FIRE)) { + if (world.getBlockState(blockPos).isIn(BlockTags.FIRE)) { world.removeBlock(blockPos, false); } BlockPos sideBlockPos = blockPos.offset(hitResult.getSide()); - if (world.getBlockState(sideBlockPos).matches(BlockTags.FIRE)) { + if (world.getBlockState(sideBlockPos).isIn(BlockTags.FIRE)) { world.removeBlock(sideBlockPos, false); } }