mirror of
https://github.com/bloodmc/GriefDefender.git
synced 2024-06-22 09:44:59 +02:00
parent
69b37bc95c
commit
d8e6acce55
|
@ -744,6 +744,7 @@ public void onDisconnect() {
|
|||
this.claimResizing = null;
|
||||
this.claimSubdividing = null;
|
||||
this.visualClaimId = null;
|
||||
this.commandInputTimestamp = null;
|
||||
if (this.visualRevertTask != null) {
|
||||
this.visualRevertTask.cancel();
|
||||
this.visualRevertTask = null;
|
||||
|
|
|
@ -744,6 +744,7 @@ public void onDisconnect() {
|
|||
this.claimResizing = null;
|
||||
this.claimSubdividing = null;
|
||||
this.visualClaimId = null;
|
||||
this.commandInputTimestamp = null;
|
||||
if (this.visualRevertTask != null) {
|
||||
this.visualRevertTask.cancel();
|
||||
this.visualRevertTask = null;
|
||||
|
|
|
@ -289,6 +289,15 @@ public static void showTrustList(Player src, GDClaim claim, GDPlayerData playerD
|
|||
.append(ChatCaptureUtil.getInstance().createRecordChatComponent(src, claim, playerData, "trustlist", returnCommand))
|
||||
.build();
|
||||
}
|
||||
} else {
|
||||
footer = TextComponent.empty();
|
||||
if (messages != null && !messages.isEmpty()) {
|
||||
for (Component message : messages) {
|
||||
footer = footer.append(message);
|
||||
fillSize -= 1;
|
||||
}
|
||||
messages.clear();
|
||||
}
|
||||
}
|
||||
|
||||
for (int i = 0; i < fillSize; i++) {
|
||||
|
@ -298,8 +307,6 @@ public static void showTrustList(Player src, GDClaim claim, GDPlayerData playerD
|
|||
PaginationList.Builder paginationBuilder = PaginationList.builder()
|
||||
.title(claimTrustHead).padding(TextComponent.of(" ").decoration(TextDecoration.STRIKETHROUGH, true)).contents(trustList).footer(footer);
|
||||
paginationBuilder.sendTo(src);
|
||||
paginationBuilder.sendTo(src);
|
||||
|
||||
}
|
||||
|
||||
private static Consumer<CommandSource> createTrustConsumer(Player src, GDClaim claim, GDPlayerData playerData, TrustType type, Component returnCommand) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user