freekin egyptian braces
This commit is contained in:
1 parent
734dc95dab
commit
9bbaaccb3e
12 files changed
+626
-87
No files matched your search
@@ -11,11 +11,11 @@ import org.spongepowered.asm.mixin.injection.Redirect;
|
||||
@Mixin(TntBlock.class)
|
||||
public abstract class TntBlockMixin
|
||||
{
|
||||
// Add carpet rule check for TNTDoNotUpdate to an if statement.
|
||||
// Add carpet rule check for tntDoNotUpdate to an if statement.
|
||||
@Redirect(method = "onBlockAdded", at = @At(value = "INVOKE",
|
||||
target = "Lnet/minecraft/world/World;isReceivingRedstonePower(Lnet/minecraft/util/math/BlockPos;)Z"))
|
||||
private boolean isTNTDoNotUpdate(World world, BlockPos blockPos)
|
||||
{
|
||||
return !CarpetSettings.TNTDoNotUpdate && world.isReceivingRedstonePower(blockPos);
|
||||
return !CarpetSettings.tntDoNotUpdate && world.isReceivingRedstonePower(blockPos);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user