Compare commits

..

1 Commits

Author SHA1 Message Date
b8475b34ba 1.15.2 Port
All checks were successful
SorceryCraft/pipeline/head This commit looks good
2020-03-24 15:33:10 -04:00
3 changed files with 2 additions and 5 deletions

View File

@ -3,9 +3,6 @@
**1.15.2 Port** **1.15.2 Port**
* Tweak Steadfast Spell * Tweak Steadfast Spell
**1.2.7**
* Fix Cooling Spell Bug
**1.2.6** **1.2.6**
* Fix Potential Client-Server De-sync Bug * Fix Potential Client-Server De-sync Bug

View File

@ -10,7 +10,7 @@ org.gradle.jvmargs = -Xmx1G
fabric_loader_version = 0.7.8+build.189 fabric_loader_version = 0.7.8+build.189
# Mod Properties # Mod Properties
mod_version = 1.2.7 mod_version = 1.2.6
maven_group = com.thebrokenrail maven_group = com.thebrokenrail
archives_base_name = sorcerycraft archives_base_name = sorcerycraft

View File

@ -28,7 +28,7 @@ public class CoolingSpell extends Spell {
if (world.getBlockState(blockPos).getBlock() == Blocks.FIRE) { if (world.getBlockState(blockPos).getBlock() == Blocks.FIRE) {
world.removeBlock(blockPos, false); world.removeBlock(blockPos, false);
} }
if (world.getBlockState(blockPos).contains(Properties.LIT) && world.getBlockState(blockPos).get(Properties.LIT)) { if (world.getBlockState(blockPos).get(Properties.LIT)) {
world.setBlockState(blockPos, world.getBlockState(blockPos).with(Properties.LIT, false)); world.setBlockState(blockPos, world.getBlockState(blockPos).with(Properties.LIT, false));
} }