Wawla - What Are We Looking At

Wawla - What Are We Looking At

73M Downloads

Blast Resistance is always 5F

trabpukcip opened this issue ยท 1 comments

commented

It appears that the Blast Resistance plugin does not actually do anything.

In the code it is hard set to show 5F (5.0) as the value for ANY block.

https://github.com/Darkhax-Minecraft/WAWLA/blob/master/src/main/java/net/darkhax/wawla/plugins/generic/PluginBlastResistance.java#L18

Wawla Blast Resistance

commented

This works although bedrock is shown as scientific notation (1.8E7) which could be worked around.

info.add(I18n.format("tooltip.wawla.generic.blastresist") + ": " + (data.block.getExplosionResistance(data.world, data.pos, null, null) * 5F));