Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

Commit 7bfe5ce

Browse files
committed
Refactored new multiversion SUGAR_CANE_BLOCK material.
1 parent a0d3841 commit 7bfe5ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/massivecraft/factions/zcore/fupgrades/CropUpgrades.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ private void growCrop(BlockGrowEvent e) {
6161

6262

6363

64-
if (below.getType() == P.p.SUGARCANEBLOCK) {
64+
if (below.getType() == P.p.SUGAR_CANE_BLOCK) {
6565

6666
org.bukkit.block.Block above = e.getBlock().getLocation().add(0, 1, 0).getBlock();
6767
if (above.getType() == Material.AIR && above.getLocation().add(0, -2, 0).getBlock().getType() != Material.AIR) {
68-
above.setType(P.p.SUGARCANEBLOCK);
68+
above.setType(P.p.SUGAR_CANE_BLOCK);
6969
}
7070

7171
}

0 commit comments

Comments
 (0)