v16.3: Fix debug message variable

This commit is contained in:
RoboMWM 2016-11-20 17:34:00 -08:00
parent f173ae9ddc
commit 11d6d3cf13
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<groupId>me.ryanhamshire</groupId> <groupId>me.ryanhamshire</groupId>
<artifactId>GriefPrevention</artifactId> <artifactId>GriefPrevention</artifactId>
<version>16.2</version> <version>16.3</version>
<properties> <properties>
<maven.compiler.source>1.6</maven.compiler.source> <maven.compiler.source>1.6</maven.compiler.source>
<maven.compiler.target>1.6</maven.compiler.target> <maven.compiler.target>1.6</maven.compiler.target>

View File

@ -87,7 +87,7 @@ class DeliverClaimBlocksTask implements Runnable
} }
playerData.accrueBlocks(event.getBlocksToAccrue()); playerData.accrueBlocks(event.getBlocksToAccrue());
GriefPrevention.AddLogEntry("Delivering " + accruedBlocks + " blocks to " + player.getName(), CustomLogEntryTypes.Debug, true); GriefPrevention.AddLogEntry("Delivering " + event.getBlocksToAccrue() + " blocks to " + player.getName(), CustomLogEntryTypes.Debug, true);
//intentionally NOT saving data here to reduce overall secondary storage access frequency //intentionally NOT saving data here to reduce overall secondary storage access frequency
//many other operations will cause this player's data to save, including his eventual logout //many other operations will cause this player's data to save, including his eventual logout