mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2026-01-31 09:41:04 +00:00
awrf :3
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -36,7 +36,7 @@ import java.util.List;
|
||||
|
||||
public class ShootBow implements Listener {
|
||||
|
||||
private ToolStats toolStats;
|
||||
private final ToolStats toolStats;
|
||||
|
||||
public ShootBow(ToolStats toolStats) {
|
||||
this.toolStats = toolStats;
|
||||
|
||||
Reference in New Issue
Block a user