mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-18 00:20:44 +00:00
Revert "Accommodate mid-version api compatibility change (come on paper ffs)"
This reverts commit 02d5d5332a.
This commit is contained in:
@@ -13,8 +13,6 @@ import java.util.UUID;
|
||||
import java.util.function.Consumer;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import io.papermc.paper.datapack.DatapackManager;
|
||||
import net.kyori.adventure.audience.Audience;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import org.apache.commons.lang3.NotImplementedException;
|
||||
@@ -467,11 +465,6 @@ public class PseudoServer implements Server {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int broadcast(@NotNull Component component) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int broadcast(@NotNull final Component component, @NotNull final String s) {
|
||||
throw new NotImplementedException();
|
||||
@@ -903,11 +896,6 @@ public class PseudoServer implements Server {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull DatapackManager getDatapackManager() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void sendPluginMessage(@NotNull final Plugin plugin, @NotNull final String s, @NotNull final byte[] bytes) {
|
||||
throw new NotImplementedException();
|
||||
|
||||
@@ -28,14 +28,6 @@ public final class ClonedInventory implements Inventory {
|
||||
this.inventory = inventory;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int close() {
|
||||
List<HumanEntity> viewers = getViewers();
|
||||
int num = viewers.size();
|
||||
viewers.forEach(HumanEntity::closeInventory);
|
||||
return num;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getSize() {
|
||||
return this.inventory.getSize();
|
||||
|
||||
Reference in New Issue
Block a user