Skip to content

Commit

Permalink
🐛 忘改运算符了
Browse files Browse the repository at this point in the history
  • Loading branch information
1024-byteeeee committed Nov 3, 2023
1 parent b4c69e2 commit d974271
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,14 @@ public void getBlastResistance(CallbackInfoReturnable<Float> cir) {
}

if(AmsServerSettings.enhancedWorldEater && (
stateManager.getDefaultState().getBlock() == Blocks.ANVIL
&& stateManager.getDefaultState().getBlock() == Blocks.CHIPPED_ANVIL
&& stateManager.getDefaultState().getBlock() == Blocks.DAMAGED_ANVIL
stateManager.getDefaultState().getBlock() != Blocks.ANVIL
&& stateManager.getDefaultState().getBlock() != Blocks.CHIPPED_ANVIL
&& stateManager.getDefaultState().getBlock() != Blocks.DAMAGED_ANVIL
&& stateManager.getDefaultState().getBlock() != Blocks.BEDROCK
)
) {
cir.setReturnValue(Blocks.STONE.getBlastResistance());
float BOOM = 1.114514F;
cir.setReturnValue(BOOM);
}

/*
Expand Down

0 comments on commit d974271

Please sign in to comment.