Skip to content

Commit

Permalink
fix class name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonUden committed Dec 16, 2023
1 parent 1a96b3a commit ff964a3
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
import net.zeeraa.novacore.commons.log.Log;
import net.zeeraa.novacore.commons.utils.LoopableIterator;
import net.zeeraa.novacore.commons.utils.RandomGenerator;
import net.zeeraa.novacore.spigot.abstraction.VersionIndependantLoader;
import net.zeeraa.novacore.spigot.abstraction.VersionIndependentLoader;
import net.zeeraa.novacore.spigot.abstraction.VersionIndependentUtils;
import net.zeeraa.novacore.spigot.abstraction.bossbar.NovaBossBar;
import net.zeeraa.novacore.spigot.abstraction.enums.ColoredBlockType;
Expand All @@ -56,7 +56,7 @@ public abstract class BaseVersionIndependentUtilImplementation1_16Plus extends V
private DyeColorToMaterialMapper dyeColorToMaterialMapper;
protected Random random;

public BaseVersionIndependentUtilImplementation1_16Plus(VersionIndependantLoader loader, DyeColorToMaterialMapper colorToMaterialMapper) {
public BaseVersionIndependentUtilImplementation1_16Plus(VersionIndependentLoader loader, DyeColorToMaterialMapper colorToMaterialMapper) {
super(loader);
this.dyeColorToMaterialMapper = colorToMaterialMapper;
this.random = new Random();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import net.zeeraa.novacore.spigot.abstraction.particle.NovaParticleProvider;

public abstract class VersionIndependantLoader {
public abstract class VersionIndependentLoader {
public abstract CommandRegistrator getCommandRegistrator();

public abstract VersionIndependentUtils getVersionIndependentUtils();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public abstract class VersionIndependentUtils {
private static VersionIndependentUtils instance;
protected static List<String> BED_MATERIALS = new ArrayList<>();

protected VersionIndependantLoader loader;
protected VersionIndependentLoader loader;

static {
BED_MATERIALS.add("BED");
Expand All @@ -83,11 +83,11 @@ public abstract class VersionIndependentUtils {
BED_MATERIALS.add("YELLOW_BED");
}

public VersionIndependentUtils(VersionIndependantLoader loader) {
public VersionIndependentUtils(VersionIndependentLoader loader) {
this.loader = loader;
}

public VersionIndependantLoader getLoader() {
public VersionIndependentLoader getLoader() {
return loader;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
import net.zeeraa.novacore.commons.utils.JSONFileUtils;
import net.zeeraa.novacore.spigot.abstraction.CommandRegistrator;
import net.zeeraa.novacore.spigot.abstraction.NovaCoreAbstraction;
import net.zeeraa.novacore.spigot.abstraction.VersionIndependantLoader;
import net.zeeraa.novacore.spigot.abstraction.VersionIndependentLoader;
import net.zeeraa.novacore.spigot.abstraction.VersionIndependentUtils;
import net.zeeraa.novacore.spigot.abstraction.commons.AbstractBukkitConsoleSender;
import net.zeeraa.novacore.spigot.abstraction.commons.AbstractBukkitPlayerMessageSender;
Expand Down Expand Up @@ -613,8 +613,8 @@ public void onEnable() {

try {
Class<?> clazz = Class.forName("net.zeeraa.novacore.spigot.version." + version + ".VersionIndependentLoader");
if (VersionIndependantLoader.class.isAssignableFrom(clazz)) {
VersionIndependantLoader versionIndependantLoader = (VersionIndependantLoader) clazz.getConstructor().newInstance();
if (VersionIndependentLoader.class.isAssignableFrom(clazz)) {
VersionIndependentLoader versionIndependantLoader = (VersionIndependentLoader) clazz.getConstructor().newInstance();

if (!forceReflectionCommandRegistrator) {
bukkitCommandRegistrator = versionIndependantLoader.getCommandRegistrator();
Expand Down Expand Up @@ -643,7 +643,7 @@ public void onEnable() {
this.novaParticleProvider = versionSpecificParticleProvider;
}
} else {
throw new InvalidClassException(clazz.getName() + " is not assignable from " + VersionIndependantLoader.class.getName());
throw new InvalidClassException(clazz.getName() + " is not assignable from " + VersionIndependentLoader.class.getName());
}
} catch (Exception e) {
e.printStackTrace();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import net.zeeraa.novacore.spigot.abstraction.Listeners;
import net.zeeraa.novacore.spigot.abstraction.particle.NovaParticleProvider;

public class VersionIndependentLoader extends net.zeeraa.novacore.spigot.abstraction.VersionIndependantLoader {
public class VersionIndependentLoader extends net.zeeraa.novacore.spigot.abstraction.VersionIndependentLoader {
@Override
public CommandRegistrator getCommandRegistrator() {
return new NMSBasedCommandRegistrator();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import net.zeeraa.novacore.spigot.abstraction.Listeners;
import net.zeeraa.novacore.spigot.abstraction.particle.NovaParticleProvider;

public class VersionIndependentLoader extends net.zeeraa.novacore.spigot.abstraction.VersionIndependantLoader {
public class VersionIndependentLoader extends net.zeeraa.novacore.spigot.abstraction.VersionIndependentLoader {
@Override
public CommandRegistrator getCommandRegistrator() {
return new NMSBasedCommandRegistrator();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
import net.zeeraa.novacore.spigot.abstraction.ChunkLoader;
import net.zeeraa.novacore.spigot.abstraction.ItemBuilderRecordList;
import net.zeeraa.novacore.spigot.abstraction.MaterialNameList;
import net.zeeraa.novacore.spigot.abstraction.VersionIndependantLoader;
import net.zeeraa.novacore.spigot.abstraction.VersionIndependentLoader;
import net.zeeraa.novacore.spigot.abstraction.VersionIndependentItems;
import net.zeeraa.novacore.spigot.abstraction.bossbar.NovaBossBar;
import net.zeeraa.novacore.spigot.abstraction.commons.AttributeInfo;
Expand Down Expand Up @@ -129,7 +129,7 @@ public ChunkLoader getChunkLoader() {
return chunkLoader;
}

public VersionIndependentUtilsImplementation(VersionIndependantLoader loader) {
public VersionIndependentUtilsImplementation(VersionIndependentLoader loader) {
super(loader);
itemBuilderRecordList = new ItemBuilderRecordList1_12();
materialNameList = MaterialNameList1_12.get();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import net.zeeraa.novacore.spigot.abstraction.Listeners;
import net.zeeraa.novacore.spigot.abstraction.particle.NovaParticleProvider;

public class VersionIndependentLoader extends net.zeeraa.novacore.spigot.abstraction.VersionIndependantLoader {
public class VersionIndependentLoader extends net.zeeraa.novacore.spigot.abstraction.VersionIndependentLoader {
@Override
public CommandRegistrator getCommandRegistrator() {
return new NMSBasedCommandRegistrator();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import net.zeeraa.novacore.spigot.abstraction.ChunkLoader;
import net.zeeraa.novacore.spigot.abstraction.ItemBuilderRecordList;
import net.zeeraa.novacore.spigot.abstraction.MaterialNameList;
import net.zeeraa.novacore.spigot.abstraction.VersionIndependantLoader;
import net.zeeraa.novacore.spigot.abstraction.VersionIndependentLoader;
import net.zeeraa.novacore.spigot.abstraction.VersionIndependentItems;
import net.zeeraa.novacore.spigot.abstraction.commons.AttributeInfo;
import net.zeeraa.novacore.spigot.abstraction.enums.ColoredBlockType;
Expand Down Expand Up @@ -93,7 +93,7 @@ public ChunkLoader getChunkLoader() {
return chunkLoader;
}

public VersionIndependentUtilsImplementation(VersionIndependantLoader loader) {
public VersionIndependentUtilsImplementation(VersionIndependentLoader loader) {
super(loader, new DyeColorToMaterialMapper_1_16());
itemBuilderRecordList = new ItemBuilderRecordList1_16();
}
Expand Down

0 comments on commit ff964a3

Please sign in to comment.