mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-21 04:05:48 +00:00
Fixed the Wildcard
This commit is contained in:
parent
d88c815005
commit
f0dbe746c6
@ -9,7 +9,6 @@ import java.util.Set;
|
|||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
import io.github.thebusybiscuit.slimefun4.implementation.listeners.*;
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Server;
|
import org.bukkit.Server;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
@ -49,6 +48,38 @@ import io.github.thebusybiscuit.slimefun4.implementation.items.food.Cooler;
|
|||||||
import io.github.thebusybiscuit.slimefun4.implementation.items.tools.GrapplingHook;
|
import io.github.thebusybiscuit.slimefun4.implementation.items.tools.GrapplingHook;
|
||||||
import io.github.thebusybiscuit.slimefun4.implementation.items.weapons.SeismicAxe;
|
import io.github.thebusybiscuit.slimefun4.implementation.items.weapons.SeismicAxe;
|
||||||
import io.github.thebusybiscuit.slimefun4.implementation.items.weapons.VampireBlade;
|
import io.github.thebusybiscuit.slimefun4.implementation.items.weapons.VampireBlade;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.AncientAltarListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.BackpackListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.BeeWingListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.BlockListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.BlockPhysicsListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.CargoNodeListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.CoolerListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.DeathpointListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.DebugFishListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.DispenserListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.EnhancedFurnaceListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.ExplosionsListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.FireworksListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.GadgetsListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.GrapplingHookListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.IronGolemListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.ItemPickupListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.MobDropListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.MultiBlockListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.PlayerProfileListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.SeismicAxeListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.SlimefunBootsListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.SlimefunBowListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.SlimefunGuideListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.SlimefunItemConsumeListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.SlimefunItemListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.SoulboundListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.TalismanListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.VampireBladeListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.VanillaMachinesListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.WitherListener;
|
||||||
|
import io.github.thebusybiscuit.slimefun4.implementation.listeners.WorldListener;
|
||||||
import io.github.thebusybiscuit.slimefun4.implementation.resources.GEOResourcesSetup;
|
import io.github.thebusybiscuit.slimefun4.implementation.resources.GEOResourcesSetup;
|
||||||
import io.github.thebusybiscuit.slimefun4.implementation.setup.PostSetup;
|
import io.github.thebusybiscuit.slimefun4.implementation.setup.PostSetup;
|
||||||
import io.github.thebusybiscuit.slimefun4.implementation.setup.ResearchSetup;
|
import io.github.thebusybiscuit.slimefun4.implementation.setup.ResearchSetup;
|
||||||
@ -206,6 +237,7 @@ public final class SlimefunPlugin extends JavaPlugin implements SlimefunAddon {
|
|||||||
new FireworksListener(this);
|
new FireworksListener(this);
|
||||||
new WitherListener(this);
|
new WitherListener(this);
|
||||||
new IronGolemListener(this);
|
new IronGolemListener(this);
|
||||||
|
new BeeWingListener(this);
|
||||||
|
|
||||||
// Item-specific Listeners
|
// Item-specific Listeners
|
||||||
new VampireBladeListener(this, (VampireBlade) SlimefunItems.BLADE_OF_VAMPIRES.getItem());
|
new VampireBladeListener(this, (VampireBlade) SlimefunItems.BLADE_OF_VAMPIRES.getItem());
|
||||||
@ -238,11 +270,6 @@ public final class SlimefunPlugin extends JavaPlugin implements SlimefunAddon {
|
|||||||
// Clear the Slimefun Guide History upon Player Leaving
|
// Clear the Slimefun Guide History upon Player Leaving
|
||||||
new PlayerProfileListener(this);
|
new PlayerProfileListener(this);
|
||||||
|
|
||||||
// Listeners that only need to function in at least Minecraft version 1.15.X
|
|
||||||
if (SlimefunPlugin.getMinecraftVersion().isAtLeast(MinecraftVersion.MINECRAFT_1_15)) {
|
|
||||||
new BeeWingListener(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Initiating various Stuff and all Items with a slightly delay (0ms after the Server finished loading)
|
// Initiating various Stuff and all Items with a slightly delay (0ms after the Server finished loading)
|
||||||
Slimefun.runSync(new SlimefunStartupTask(this, () -> {
|
Slimefun.runSync(new SlimefunStartupTask(this, () -> {
|
||||||
protections = new ProtectionManager(getServer());
|
protections = new ProtectionManager(getServer());
|
||||||
|
Loading…
Reference in New Issue
Block a user