Skip to content

Commit

Permalink
Update to support new scoreboard
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonUden committed Sep 25, 2023
1 parent 56de3aa commit ddae3a2
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 554 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import net.novauniverse.novacore1_17plus.shared.DyeColorToMaterialMapper_1_17;
import net.zeeraa.novacore.commons.utils.ListUtils;
import net.zeeraa.novacore.spigot.abstraction.ChunkLoader;
import net.zeeraa.novacore.spigot.abstraction.INetheriteBoard;
import net.zeeraa.novacore.spigot.abstraction.ItemBuilderRecordList;
import net.zeeraa.novacore.spigot.abstraction.MaterialNameList;
import net.zeeraa.novacore.spigot.abstraction.VersionIndependantLoader;
Expand All @@ -34,8 +33,6 @@
import net.zeeraa.novacore.spigot.abstraction.enums.VersionIndependentSound;
import net.zeeraa.novacore.spigot.abstraction.log.AbstractionLogger;
import net.zeeraa.novacore.spigot.abstraction.manager.CustomSpectatorManager;
import net.zeeraa.novacore.spigot.abstraction.netheriteboard.BPlayerBoard;

import org.bukkit.Bukkit;
import org.bukkit.DyeColor;
import org.bukkit.FluidCollisionMode;
Expand Down Expand Up @@ -70,7 +67,6 @@
import org.bukkit.inventory.meta.ItemMeta;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.scoreboard.Scoreboard;
import org.bukkit.util.RayTraceResult;

import java.lang.reflect.Field;
Expand Down Expand Up @@ -1089,9 +1085,4 @@ public float getBlockBlastResistance(Material material) {
public GameProfile getGameProfile(Player player) {
return ((CraftPlayer) player).getHandle().fp();
}

@Override
public BPlayerBoard initPlayerBoard(INetheriteBoard netheriteBoard, Player player, Scoreboard scoreboard, String name) throws Exception {
return new PlayerBoardV1_18_R1(netheriteBoard, player, scoreboard, name);
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import net.novauniverse.novacore1_17plus.shared.DyeColorToMaterialMapper_1_17;
import net.zeeraa.novacore.commons.utils.ListUtils;
import net.zeeraa.novacore.spigot.abstraction.ChunkLoader;
import net.zeeraa.novacore.spigot.abstraction.INetheriteBoard;
import net.zeeraa.novacore.spigot.abstraction.ItemBuilderRecordList;
import net.zeeraa.novacore.spigot.abstraction.MaterialNameList;
import net.zeeraa.novacore.spigot.abstraction.VersionIndependentItems;
Expand All @@ -40,7 +39,6 @@
import net.zeeraa.novacore.spigot.abstraction.commons.EntityBoundingBox;
import net.zeeraa.novacore.spigot.abstraction.log.AbstractionLogger;
import net.zeeraa.novacore.spigot.abstraction.manager.CustomSpectatorManager;
import net.zeeraa.novacore.spigot.abstraction.netheriteboard.BPlayerBoard;

import org.bukkit.attribute.Attribute;
import org.bukkit.attribute.AttributeModifier;
Expand Down Expand Up @@ -71,7 +69,6 @@
import net.minecraft.server.MinecraftServer;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.scoreboard.Scoreboard;
import org.bukkit.util.RayTraceResult;

import java.text.DecimalFormat;
Expand Down Expand Up @@ -1073,9 +1070,4 @@ public float getBlockBlastResistance(Material material) {
public GameProfile getGameProfile(Player player) {
return ((CraftPlayer) player).getHandle().fq();
}

@Override
public BPlayerBoard initPlayerBoard(INetheriteBoard netheriteBoard, Player player, Scoreboard scoreboard, String name) throws Exception {
return new PlayerBoardV1_18_R2(netheriteBoard, player, scoreboard, name);
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import net.novauniverse.spigot.version.shared.v1_16plus.SharedBannerItemStackCreator;
import net.zeeraa.novacore.commons.utils.ListUtils;
import net.zeeraa.novacore.spigot.abstraction.ChunkLoader;
import net.zeeraa.novacore.spigot.abstraction.INetheriteBoard;
import net.zeeraa.novacore.spigot.abstraction.ItemBuilderRecordList;
import net.zeeraa.novacore.spigot.abstraction.MaterialNameList;
import net.zeeraa.novacore.spigot.abstraction.VersionIndependentItems;
Expand All @@ -41,8 +40,6 @@
import net.zeeraa.novacore.spigot.abstraction.commons.EntityBoundingBox;
import net.zeeraa.novacore.spigot.abstraction.log.AbstractionLogger;
import net.zeeraa.novacore.spigot.abstraction.manager.CustomSpectatorManager;
import net.zeeraa.novacore.spigot.abstraction.netheriteboard.BPlayerBoard;

import org.bukkit.attribute.Attribute;
import org.bukkit.attribute.AttributeModifier;
import org.bukkit.block.Block;
Expand Down Expand Up @@ -72,7 +69,6 @@
import net.minecraft.server.MinecraftServer;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.scoreboard.Scoreboard;
import org.bukkit.util.RayTraceResult;

import java.text.DecimalFormat;
Expand Down Expand Up @@ -1075,9 +1071,4 @@ public float getBlockBlastResistance(Material material) {
public GameProfile getGameProfile(Player player) {
return ((CraftPlayer) player).getHandle().fz();
}

@Override
public BPlayerBoard initPlayerBoard(INetheriteBoard netheriteBoard, Player player, Scoreboard scoreboard, String name) throws Exception {
return new PlayerBoardV1_19_R1(netheriteBoard, player, scoreboard, name);
}
}
Loading

0 comments on commit ddae3a2

Please sign in to comment.