General refactoring

This commit is contained in:
ShadowRanger
2016-03-10 13:47:17 +11:00
parent f9ac6804b2
commit b8f4589b87
7 changed files with 26 additions and 19 deletions

View File

@@ -152,7 +152,7 @@ public class AnySilentChest {
tileInventory = new SilentInventory(tileInventory);
if (plugin.getConfiguration().notifySilentChest()) {
plugin.sendMessage(p, "You are opening a chest silently.");
OpenInv.sendMessage(p, "You are opening a chest silently.");
}
returnValue = false;
@@ -161,7 +161,7 @@ public class AnySilentChest {
player.openContainer(tileInventory);
if (anyChest && plugin.getConfiguration().notifyAnyChest()) {
plugin.sendMessage(p, "You are opening a blocked chest.");
OpenInv.sendMessage(p, "You are opening a blocked chest.");
}
return returnValue;