summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorKeuin <[email protected]>2021-08-22 19:03:22 +0800
committerKeuin <[email protected]>2021-08-22 19:03:22 +0800
commitf5ec65dbf7fdb40a4ace0d62f3db3906f5bd4d07 (patch)
tree35d24634e6ec75f342d169017e1227840a6e1fe0 /src/main
parentf655118067835b272579f89fc84d163239a01f4f (diff)
Renaming.
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/keuin/blame/EventHandler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/keuin/blame/EventHandler.java b/src/main/java/com/keuin/blame/EventHandler.java
index ae67363..5209fee 100644
--- a/src/main/java/com/keuin/blame/EventHandler.java
+++ b/src/main/java/com/keuin/blame/EventHandler.java
@@ -48,7 +48,7 @@ public class EventHandler implements AttackEntityHandler, PlaceBlockHandler, Bre
// 不检查重复,直接提交
String worldString = MinecraftUtil.worldToString(world);
String blockId = Registry.BLOCK.getId(world.getBlockState(blockHitResult.getBlockPos()).getBlock()).toString();
- LogEntry entry = LogEntryFactory.playerWithBlock(
+ LogEntry entry = LogEntryFactory.entityWithBlock(
playerEntity,
worldString,
blockId,
@@ -88,7 +88,7 @@ public class EventHandler implements AttackEntityHandler, PlaceBlockHandler, Bre
public void onPlayerBreakBlock(World world, PlayerEntity playerEntity, BlockPos blockPos, BlockState blockState, BlockEntity blockEntity) {
String worldString = MinecraftUtil.worldToString(world);
String blockId = Registry.BLOCK.getId(blockState.getBlock()).toString();
- LogEntry entry = LogEntryFactory.playerWithBlock(
+ LogEntry entry = LogEntryFactory.entityWithBlock(
playerEntity,
worldString,
blockId,