mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-11 20:13:55 +00:00
some codestyle application
This commit is contained in:
@ -10,9 +10,11 @@ import it.unimi.dsi.fastutil.ints.Int2ObjectMap;
|
||||
* Class to prevent the above/below being removed from shaded/relocated dependencies via minimization
|
||||
*/
|
||||
final class DoNotMiniseThese {
|
||||
|
||||
private final Long2ObjectLinkedOpenHashMap a = null;
|
||||
private final LongArraySet b = null;
|
||||
private final LongIterator c = null;
|
||||
private final LongSet d = null;
|
||||
private final Int2ObjectMap e = null;
|
||||
|
||||
}
|
||||
|
@ -313,7 +313,8 @@ public class BukkitWorld extends AbstractWorld {
|
||||
public boolean generateTree(TreeGenerator.TreeType type, EditSession editSession, BlockVector3 pt) {
|
||||
//FAWE start - allow tree commands to be undone and obey region restrictions
|
||||
return TaskManager.IMP.sync(() -> WorldEditPlugin.getInstance().getBukkitImplAdapter().generateTree(type, editSession, pt,
|
||||
getWorld()));
|
||||
getWorld()
|
||||
));
|
||||
//FAWE end
|
||||
}
|
||||
|
||||
|
@ -306,7 +306,7 @@ public class WorldEditPlugin extends JavaPlugin {
|
||||
"The version of Spigot/Paper you are using doesn't support Tags. The usage of tags with WorldEdit will not work until you update.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// FAWE start
|
||||
private void setupBiomes() {
|
||||
if (this.adapter.value().isPresent()) {
|
||||
|
@ -262,7 +262,7 @@ public interface BukkitImplAdapter<T> extends IBukkitAdapter {
|
||||
* Clears the contents of a Clearable block.
|
||||
*
|
||||
* @param world The world
|
||||
* @param pt The location
|
||||
* @param pt The location
|
||||
* @return If a block was cleared
|
||||
*/
|
||||
default boolean clearContainerBlockContents(World world, BlockVector3 pt) {
|
||||
|
Reference in New Issue
Block a user