Version to 11.1
This commit is contained in:
@@ -132,7 +132,7 @@ public class BlockEventHandler implements Listener
|
||||
PlayerData playerData = this.dataStore.getPlayerData(player.getUniqueId());
|
||||
if(notEmpty && playerData.lastMessage != null && !playerData.lastMessage.equals(signMessage))
|
||||
{
|
||||
GriefPrevention.AddLogEntry("[Sign Placement] <" + player.getName() + "> " + " @ " + GriefPrevention.getfriendlyLocationString(event.getBlock().getLocation()) + lines.toString().replace("\r\n", ";"));
|
||||
GriefPrevention.AddLogEntry("[Sign Placement] <" + player.getName() + "> " + " @ " + GriefPrevention.getfriendlyLocationString(event.getBlock().getLocation()) + ": " + lines.toString().replace("\n ", ";"));
|
||||
playerData.lastMessage = signMessage;
|
||||
|
||||
if(!player.hasPermission("griefprevention.eavesdrop"))
|
||||
|
||||
@@ -338,7 +338,7 @@ class PlayerEventHandler implements Listener
|
||||
if(mutedReason != null)
|
||||
{
|
||||
//make a log entry
|
||||
GriefPrevention.AddLogEntry("Muted " + mutedReason + " from " + player.getName() + ": " + message);
|
||||
GriefPrevention.AddLogEntry("Muted " + mutedReason + ".");
|
||||
|
||||
//cancelling the event guarantees other players don't receive the message
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user