fix meteoric

This commit is contained in:
okx-code
2026-02-16 02:30:44 +00:00
parent 58a03e1484
commit b7a801ed99

View File

@@ -89,7 +89,7 @@ public class VeinBreakListener implements Listener {
oreBlock.setType(Material.RAW_IRON_BLOCK);
event.getPlayer().sendMessage(Component.text("You found a chunk of meteoric iron", NamedTextColor.GRAY, TextDecoration.ITALIC));
BlockPosPdc.addBlock(block.getChunk(), oreLocationsKey, block.getX(), block.getY(), block.getZ());
BlockPosPdc.addBlock(block.getChunk(), oreLocationsKey, oreBlock.getX(), oreBlock.getY(), oreBlock.getZ());
this.minedBlocksCache.computeIfAbsent(ChunkPos.from(oreBlock.getChunk()), k -> new ArrayList<>()).add(oreBlock.getLocation());
JavaPlugin.getPlugin(HeliodorPlugin.class).getLogger()