This commit is contained in:
hyperdefined
2023-10-22 20:05:44 -04:00
parent bd30b05246
commit cc4176cfbe
5 changed files with 11 additions and 6 deletions

View File

@@ -57,7 +57,7 @@ public class GenerateLoot implements Listener {
if (inventoryHolder instanceof Chest) {
Block openedChest = null;
// look at the current list of opened chest and get the distance
// between the lootcontext location and chest location
// between the LootContext location and chest location
// if the distance is less than 1, it's the same chest
for (Block chest : toolStats.playerInteract.openedChests.keySet()) {
Location chestLocation = chest.getLocation();