We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff8676c commit e8c1706Copy full SHA for e8c1706
Bukkit/src/main/java/com/plotsquared/bukkit/listener/BlockEventListener117.java
@@ -134,7 +134,7 @@ public void onBlockReceiveGame(BlockReceiveGameEvent event) {
134
public void onBlockFertilize(BlockFertilizeEvent event) {
135
Block block = event.getBlock();
136
List<org.bukkit.block.BlockState> blocks = event.getBlocks();
137
- Location location = BukkitUtil.adapt(blocks.get(0).getLocation());
+ Location location = BukkitUtil.adapt(block.getLocation());
138
139
PlotArea area = location.getPlotArea();
140
if (area == null) {
0 commit comments