Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
9b6e32a775 |
@@ -157,7 +157,7 @@ public class AnySilentContainer implements IAnySilentContainer {
|
|||||||
// Silent ender chest is pretty much API-only
|
// Silent ender chest is pretty much API-only
|
||||||
if (silentchest && b.getType() == Material.ENDER_CHEST) {
|
if (silentchest && b.getType() == Material.ENDER_CHEST) {
|
||||||
p.openInventory(p.getEnderChest());
|
p.openInventory(p.getEnderChest());
|
||||||
player.b(StatisticList.X);
|
player.b(StatisticList.getStatistic("stat.enderchestOpened"));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -174,7 +174,7 @@ public class AnySilentContainer implements IAnySilentContainer {
|
|||||||
InventoryEnderChest enderChest = player.getEnderChest();
|
InventoryEnderChest enderChest = player.getEnderChest();
|
||||||
enderChest.a((TileEntityEnderChest) tile);
|
enderChest.a((TileEntityEnderChest) tile);
|
||||||
player.openContainer(enderChest);
|
player.openContainer(enderChest);
|
||||||
player.b(StatisticList.X);
|
player.b(StatisticList.getStatistic("stat.enderchestOpened"));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -212,9 +212,9 @@ public class AnySilentContainer implements IAnySilentContainer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (blockChest.g == Type.BASIC) {
|
if (blockChest.g == Type.BASIC) {
|
||||||
player.b(StatisticList.ac);
|
player.b(StatisticList.getStatistic("stat.chestOpened"));
|
||||||
} else if (blockChest.g == Type.TRAP) {
|
} else if (blockChest.g == Type.TRAP) {
|
||||||
player.b(StatisticList.W);
|
player.b(StatisticList.getStatistic("stat.trappedChestTriggered"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (silentchest) {
|
if (silentchest) {
|
||||||
@@ -223,7 +223,7 @@ public class AnySilentContainer implements IAnySilentContainer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (block instanceof BlockShulkerBox) {
|
if (block instanceof BlockShulkerBox) {
|
||||||
player.b(StatisticList.ae);
|
player.b(StatisticList.getStatistic("stat.shulkerBoxOpened"));
|
||||||
|
|
||||||
if (silentchest && tile instanceof TileEntityShulkerBox) {
|
if (silentchest && tile instanceof TileEntityShulkerBox) {
|
||||||
// Set value to current + 1. Ensures consistency later when resetting.
|
// Set value to current + 1. Ensures consistency later when resetting.
|
||||||
|
2
pom.xml
2
pom.xml
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<openinv.version>3.0.4-SNAPSHOT</openinv.version>
|
<openinv.version>3.0.6-SNAPSHOT</openinv.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
|
Reference in New Issue
Block a user