Ya missed somethin there

This commit is contained in:
ZeroEpoch1969 2018-05-26 14:01:53 -07:00
parent 6e7297e48f
commit f82f3932b9
No known key found for this signature in database
GPG Key ID: E0AAB104FB9F8FDF

View File

@ -85,7 +85,7 @@ public class Monitors extends FreedomService
for (Player p : server.getOnlinePlayers())
{
if (plugin.al.isAdmin(p) && plugin.pl.getPlayer(p).isPotionMonitorEnabled())
if (plugin.al.isAdmin(p) && plugin.al.getAdmin(p).getPotionSpy())
{
FUtil.playerMsg(p, potionSpyPrefix + ChatColor.WHITE + player.getName() + " splashed " + event.getEntity().getItem().getAmount() + " " + getMaterial(droppedItem) + " at X: " + decimalFormat.format(location.getX()) + ", Y: " + decimalFormat.format(location.getY()) + ", Z: " + decimalFormat.format(location.getZ()) + ", in the world '" + location.getWorld().getName() + "'.");
}