mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
[ci skip] Undeprecate the CsCore stuff for now (#4187)
This commit is contained in:
parent
4bcce20249
commit
5b8d872296
@ -13,10 +13,8 @@ import me.mrCookieSlime.Slimefun.api.BlockStorage;
|
|||||||
* An old remnant of CS-CoreLib.
|
* An old remnant of CS-CoreLib.
|
||||||
* This will be removed once we updated everything.
|
* This will be removed once we updated everything.
|
||||||
* Don't look at the code, it will be gone soon, don't worry.
|
* Don't look at the code, it will be gone soon, don't worry.
|
||||||
*
|
* Only used by the legacy {@link BlockStorage} system.
|
||||||
* @deprecated Only used by the legacy {@link BlockStorage} system.
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
public class Config {
|
public class Config {
|
||||||
|
|
||||||
private final File file;
|
private final File file;
|
||||||
|
@ -16,9 +16,7 @@ import org.bukkit.inventory.ItemStack;
|
|||||||
* An old remnant of CS-CoreLib.
|
* An old remnant of CS-CoreLib.
|
||||||
* This will be removed once we updated everything.
|
* This will be removed once we updated everything.
|
||||||
* Don't look at the code, it will be gone soon, don't worry.
|
* Don't look at the code, it will be gone soon, don't worry.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
public class ChestMenu {
|
public class ChestMenu {
|
||||||
|
|
||||||
private boolean clickable;
|
private boolean clickable;
|
||||||
@ -207,7 +205,6 @@ public class ChestMenu {
|
|||||||
*
|
*
|
||||||
* @return The ChestMenu Instance
|
* @return The ChestMenu Instance
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
public ChestMenu build() {
|
public ChestMenu build() {
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
@ -4,9 +4,7 @@ package me.mrCookieSlime.CSCoreLibPlugin.general.Inventory;
|
|||||||
* An old remnant of CS-CoreLib.
|
* An old remnant of CS-CoreLib.
|
||||||
* This will be removed once we updated everything.
|
* This will be removed once we updated everything.
|
||||||
* Don't look at the code, it will be gone soon, don't worry.
|
* Don't look at the code, it will be gone soon, don't worry.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
public class ClickAction {
|
public class ClickAction {
|
||||||
|
|
||||||
private boolean right;
|
private boolean right;
|
||||||
|
@ -17,12 +17,9 @@ import me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.ChestMenu.MenuClickHan
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* An old {@link Listener} for CS-CoreLib
|
* An old {@link Listener} for CS-CoreLib
|
||||||
*
|
* This is an old remnant of CS-CoreLib, the last bits of the past. They will be removed once everything is
|
||||||
* @deprecated This is an old remnant of CS-CoreLib, the last bits of the past. They will be removed once everything is
|
|
||||||
* updated.
|
* updated.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
public class MenuListener implements Listener {
|
public class MenuListener implements Listener {
|
||||||
|
|
||||||
static final Map<UUID, ChestMenu> menus = new HashMap<>();
|
static final Map<UUID, ChestMenu> menus = new HashMap<>();
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
/**
|
/**
|
||||||
* Old CS-CoreLib 1.X code.
|
* Old CS-CoreLib 1.X code.
|
||||||
*/
|
*/
|
||||||
@java.lang.Deprecated
|
|
||||||
package me.mrCookieSlime.CSCoreLibPlugin;
|
package me.mrCookieSlime.CSCoreLibPlugin;
|
@ -3,5 +3,4 @@
|
|||||||
* Don't look too close at the code that lays here. It's horrible, believe me.
|
* Don't look too close at the code that lays here. It's horrible, believe me.
|
||||||
* Once we updated everything, all of these classes will be removed.
|
* Once we updated everything, all of these classes will be removed.
|
||||||
*/
|
*/
|
||||||
@java.lang.Deprecated
|
|
||||||
package me.mrCookieSlime;
|
package me.mrCookieSlime;
|
Loading…
Reference in New Issue
Block a user