Refractor

This commit is contained in:
Zoë
2022-06-26 23:58:48 -07:00
parent 71aa42011f
commit e21bb5c26d
6 changed files with 7 additions and 7 deletions

View File

@@ -24,7 +24,7 @@ import com.dfsek.terra.bukkit.world.BukkitAdapter;
public class BukkitBlockState implements BlockState {
private org.bukkit.block.data.BlockData delegate;
private final org.bukkit.block.data.BlockData delegate;
protected BukkitBlockState(org.bukkit.block.data.BlockData delegate) {
this.delegate = delegate;

View File

@@ -25,7 +25,7 @@ import com.dfsek.terra.bukkit.world.inventory.BukkitItemMeta;
public class BukkitDamageable extends BukkitItemMeta implements Damageable {
public BukkitDamageable(org.bukkit.inventory.meta.Damageable delegate) {
super((ItemMeta) delegate);
super(delegate);
}
@Override

View File

@@ -227,7 +227,7 @@ public class NMSChunkGeneratorDelegate extends ChunkGenerator {
this.climateSampler());
if(pair != null) {
BlockPos blockposition = (BlockPos) pair.getFirst();
BlockPos blockposition = pair.getFirst();
k1 = SectionPos.blockToSectionCoord(blockposition.getX());
l1 = SectionPos.blockToSectionCoord(blockposition.getZ());

View File

@@ -20,7 +20,7 @@ dependencies {
implementation("net.jafama", "jafama", Versions.Libraries.Internal.jafama)
}
tasks.withType<Jar>() {
tasks.withType<Jar> {
entryCompression = ZipEntryCompression.STORED
manifest {
attributes(

View File

@@ -83,7 +83,7 @@ public final class AwfulForgeHacks {
BLOCK,
BIOME,
WORLD_TYPE,
DONE;
DONE
}