mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Small bugfix with the logblock stick
This commit is contained in:
parent
5876f86ac3
commit
3da03393e6
@ -1,5 +1,5 @@
|
||||
#Mon, 26 Aug 2013 17:21:52 +0200
|
||||
#Mon, 26 Aug 2013 17:47:26 +0200
|
||||
|
||||
program.VERSION=3.1
|
||||
program.BUILDNUM=505
|
||||
program.BUILDDATE=08/26/2013 05\:21 PM
|
||||
program.BUILDNUM=507
|
||||
program.BUILDDATE=08/26/2013 05\:47 PM
|
||||
|
@ -1,3 +1,3 @@
|
||||
#Build Number for ANT. Do not edit!
|
||||
#Mon Aug 26 17:21:52 CEST 2013
|
||||
build.number=506
|
||||
#Mon Aug 26 17:47:26 CEST 2013
|
||||
build.number=508
|
||||
|
@ -105,7 +105,7 @@ public class TFM_PlayerListener implements Listener
|
||||
TFM_Util.playerMsg(player, "Block edits at (" + ChatColor.WHITE + "X" + location.getBlockX() + ", Y" + location.getBlockY() + ", Z" + location.getBlockZ() + ChatColor.BLUE + ")" + ChatColor.WHITE + ":", ChatColor.BLUE);
|
||||
for (RollbackEntry entry : entries)
|
||||
{
|
||||
String material = (entry.getType() == EntryType.BLOCK_BREAK ? entry.getFromMaterial() : entry.getToMaterial() + String.valueOf(entry.getData() == 0 ? entry.getData() : "")).toString();
|
||||
String material = (entry.getType() == EntryType.BLOCK_BREAK ? String.valueOf(entry.getFromMaterial()) : entry.getToMaterial() + (entry.getData() != 0 ? ":" + String.valueOf(entry.getData()) : ""));
|
||||
TFM_Util.playerMsg(player, " - " + ChatColor.BLUE + entry.getAuthor() + " " + entry.getType() + " " + material);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user