Skip to content

Commit

Permalink
2AM brain
Browse files Browse the repository at this point in the history
  • Loading branch information
Jikoo committed Nov 12, 2023
1 parent 5adc8e3 commit ddae887
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ private void revertSpecialValues(@NotNull CompoundTag newData, @Nullable Compoun
}

// Revert automatic updates to play timestamps.
copyValue(newData, oldData, "bukkit", "lastPlayed", NumericTag.class);
copyValue(newData, oldData, "Paper", "LastSeen", NumericTag.class);
copyValue(newData, oldData, "Paper", "LastLogin", NumericTag.class);
copyValue(oldData, newData, "bukkit", "lastPlayed", NumericTag.class);
copyValue(oldData, newData, "Paper", "LastSeen", NumericTag.class);
copyValue(oldData, newData, "Paper", "LastLogin", NumericTag.class);
}

private <T extends Tag> void copyValue(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ private void revertSpecialValues(@NotNull CompoundTag newData, @Nullable Compoun
}

// Revert automatic updates to play timestamps.
copyValue(newData, oldData, "bukkit", "lastPlayed", NumericTag.class);
copyValue(newData, oldData, "Paper", "LastSeen", NumericTag.class);
copyValue(newData, oldData, "Paper", "LastLogin", NumericTag.class);
copyValue(oldData, newData, "bukkit", "lastPlayed", NumericTag.class);
copyValue(oldData, newData, "Paper", "LastSeen", NumericTag.class);
copyValue(oldData, newData, "Paper", "LastLogin", NumericTag.class);
}

private <T extends Tag> void copyValue(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ private void revertSpecialValues(@NotNull CompoundTag newData, @Nullable Compoun
}

// Revert automatic updates to play timestamps.
copyValue(newData, oldData, "bukkit", "lastPlayed", NumericTag.class);
copyValue(newData, oldData, "Paper", "LastSeen", NumericTag.class);
copyValue(newData, oldData, "Paper", "LastLogin", NumericTag.class);
copyValue(oldData, newData, "bukkit", "lastPlayed", NumericTag.class);
copyValue(oldData, newData, "Paper", "LastSeen", NumericTag.class);
copyValue(oldData, newData, "Paper", "LastLogin", NumericTag.class);
}

private <T extends Tag> void copyValue(
Expand Down

0 comments on commit ddae887

Please sign in to comment.