mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-01-27 01:11:21 +01:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
ff31c177b7
@ -39,12 +39,12 @@ public class Transfuse extends EcoEnchant {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
event.setDropItems(false);
|
|
||||||
|
|
||||||
if (!this.getConfig().getStrings(EcoEnchants.CONFIG_LOCATION + "works-on").contains(block.getType().toString().toLowerCase())) {
|
if (!this.getConfig().getStrings(EcoEnchants.CONFIG_LOCATION + "works-on").contains(block.getType().toString().toLowerCase())) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
event.setDropItems(false);
|
||||||
|
|
||||||
Material material;
|
Material material;
|
||||||
double random = NumberUtils.randFloat(0, 1);
|
double random = NumberUtils.randFloat(0, 1);
|
||||||
double band = 1 / (double) this.getConfig().getStrings(EcoEnchants.CONFIG_LOCATION + "blocks").size();
|
double band = 1 / (double) this.getConfig().getStrings(EcoEnchants.CONFIG_LOCATION + "blocks").size();
|
||||||
|
Loading…
Reference in New Issue
Block a user