forked from LogBlock/LogBlock
Various minor improvements to querying and logging
- Allow use of "both" as a query parameter. This will search for created and destroyed blocks, but not chestaccess. This is useful for situations where the query defaults to "all" e.g. rollbacks. Fixes #210, #252 - Add block negation query parameter. Like with player names, you can now precede a block name with "!" to query for all except the specified blocks. Fixes #452, #216 - Allow use of area parameter with location parameter, as long as location is specified first. Fixes #458 - Better error when asking for kill log without world specified - Don't try to process events where the block is null. Fixes #463 - Replace problematic characters in world names with underscores when deciding on a default table name. Fixes #409 - Adjust for cocoa beans having reversed attachment direction in smart logging - Prevent out of bounds exception if a single-word timespec ends in a number. Fixes #354 - Prevent error when specifying a killer or victim in a teleport lookup. Fixes #333
This commit is contained in:
@@ -109,7 +109,7 @@ public class LoggingUtil {
|
||||
}
|
||||
break;
|
||||
case COCOA:
|
||||
if (blockState.getBlock().getRelative(((CocoaPlant) data).getAttachedFace()).equals(origin)) {
|
||||
if (blockState.getBlock().getRelative(((CocoaPlant) data).getAttachedFace().getOppositeFace()).equals(origin)) {
|
||||
consumer.queueBlockBreak(playerName, blockState);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user