Skip to content

Commit a788772

Browse files
committed
Codestyle tweaks
1 parent 51c8100 commit a788772

8 files changed

Lines changed: 1 addition & 8 deletions

File tree

worldedit-bukkit/adapters/adapter-1_20_2/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_20_R2/PaperweightFaweWorldNativeAccess.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ public synchronized net.minecraft.world.level.block.state.BlockState setBlockSta
108108
this.sideEffectSet != null && this.sideEffectSet.shouldApply(SideEffect.UPDATE)
109109
);
110110
}
111-
// Since FAWE is... Async we need to do it on the main thread (wooooo.. :( )
112111
cache.insert(new CachedChange(levelChunk, blockPos, blockState));
113112
return blockState;
114113
}

worldedit-bukkit/adapters/adapter-1_20_4/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_20_R3/PaperweightFaweWorldNativeAccess.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ public synchronized net.minecraft.world.level.block.state.BlockState setBlockSta
108108
this.sideEffectSet != null && this.sideEffectSet.shouldApply(SideEffect.UPDATE)
109109
);
110110
}
111-
// Since FAWE is... Async we need to do it on the main thread (wooooo.. :( )
112111
cache.insert(new CachedChange(levelChunk, blockPos, blockState));
113112
return blockState;
114113
}

worldedit-bukkit/adapters/adapter-1_20_5/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_20_R4/PaperweightFaweWorldNativeAccess.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ public synchronized net.minecraft.world.level.block.state.BlockState setBlockSta
109109
this.sideEffectSet != null && this.sideEffectSet.shouldApply(SideEffect.UPDATE)
110110
);
111111
}
112-
// Since FAWE is... Async we need to do it on the main thread (wooooo.. :( )
113112
cache.insert(new CachedChange(levelChunk, blockPos, blockState));
114113
return blockState;
115114
}

worldedit-bukkit/adapters/adapter-1_21/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_21_R1/PaperweightFaweWorldNativeAccess.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ public synchronized net.minecraft.world.level.block.state.BlockState setBlockSta
109109
this.sideEffectSet != null && this.sideEffectSet.shouldApply(SideEffect.UPDATE)
110110
);
111111
}
112-
// Since FAWE is... Async we need to do it on the main thread (wooooo.. :( )
113112
cache.insert(new CachedChange(levelChunk, blockPos, blockState));
114113
return blockState;
115114
}

worldedit-bukkit/adapters/adapter-1_21_4/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_21_4/PaperweightFaweWorldNativeAccess.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ public synchronized net.minecraft.world.level.block.state.BlockState setBlockSta
110110
this.sideEffectSet != null && this.sideEffectSet.shouldApply(SideEffect.UPDATE)
111111
);
112112
}
113-
// Since FAWE is... Async we need to do it on the main thread (wooooo.. :( )
114113
cache.insert(new CachedChange(levelChunk, blockPos, blockState));
115114
return blockState;
116115
}

worldedit-bukkit/adapters/adapter-1_21_5/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_21_5/PaperweightFaweWorldNativeAccess.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ public synchronized net.minecraft.world.level.block.state.BlockState setBlockSta
110110
this.sideEffectSet.shouldApply(SideEffect.UPDATE) ? 0 : 512
111111
);
112112
}
113-
// Since FAWE is... Async we need to do it on the main thread (wooooo.. :( )
114113
cache.insert(new CachedChange(levelChunk, blockPos, blockState));
115114
return blockState;
116115
}

worldedit-bukkit/adapters/adapter-1_21_6/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_21_6/PaperweightFaweWorldNativeAccess.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ public synchronized net.minecraft.world.level.block.state.BlockState setBlockSta
112112
this.sideEffectSet.shouldApply(SideEffect.UPDATE) ? 0 : 512
113113
);
114114
}
115-
// Since FAWE is... Async we need to do it on the main thread (wooooo.. :( )
116115
cache.insert(new CachedChange(levelChunk, blockPos, blockState));
117116
return blockState;
118117
}

worldedit-core/src/main/java/com/fastasyncworldedit/core/history/changeset/ChangeExchangeCoordinator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public Change[] take(Change[] consumed) {
3232
this.started = true;
3333
final int length = consumed.length;
3434
if (FoliaSupport.isFolia()) {
35-
this.runner = new Thread(() -> this.runnerTask.accept(this.exchanger, new Change[length]), "FAWE undo");
35+
this.runner = new Thread(() -> this.runnerTask.accept(this.exchanger, new Change[length]), "FAWE Un-Redo");
3636
this.runner.setDaemon(true);
3737
this.runner.start();
3838
} else {

0 commit comments

Comments
 (0)