1.1.20
All checks were successful
SorceryCraft/pipeline/head This commit looks good

Update to 20w12a
This commit is contained in:
TheBrokenRail 2020-03-18 17:21:39 -04:00
parent 9d1cad6223
commit b44ca31175
3 changed files with 10 additions and 7 deletions

View File

@ -1,5 +1,8 @@
# Changelog
**1.1.20**
* Update to 20w12a
**1.1.19**
* Update API Docs
* Allow Setting Custom Display name for Spell

View File

@ -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

View File

@ -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);
}
}