mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-01-18 08:25:27 +01:00
Also include the end value!
This commit is contained in:
parent
306ac5d949
commit
b791649432
@ -80,7 +80,7 @@ public class CustomBlockConfig extends ConfigLoader {
|
||||
byte endData = Byte.valueOf(dataInfo[1]);
|
||||
System.out.println(blockName + " Data range; [" + startData + " - " + endData + "]");
|
||||
|
||||
for (byte blockData = startData; blockData < endData; blockData++) {
|
||||
for (byte blockData = startData; blockData <= endData; blockData++) {
|
||||
MaterialData blockMaterialData = new MaterialData(blockMaterial, blockData);
|
||||
loadBlock(skillType, blockList, blockName, blockMaterialData);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user