@@ -46,45 +46,6 @@ public BaseMap(@NotNull String name, Pos spawn, String... builders) {
4646 this .spawn = spawn ;
4747 }
4848
49- /**
50- * Creates a new instance from the {@link BaseMap} with all given values.
51- * Deprecated since 1.9.0, use {@link #builder()} instead.
52- *
53- * @param name the name from the map
54- */
55- @ Deprecated (forRemoval = true , since = "1.9.0" )
56- @ Contract (value = "_ -> new" , pure = true )
57- public static @ NotNull BaseMap of (@ NotNull String name ) {
58- return new BaseMap (name , null );
59- }
60-
61- /**
62- * The constructor sets all relevant values for a map.
63- * Deprecated since 1.9.0, use {@link #builder()} instead.
64- *
65- * @param name the name from the map
66- * @param spawn the spawn location from the map
67- */
68- @ Deprecated (forRemoval = true , since = "1.9.0" )
69- @ Contract (value = "_, _ -> new" , pure = true )
70- public static @ NotNull BaseMap of (@ NotNull String name , Pos spawn ) {
71- return new BaseMap (name , spawn , "team" );
72- }
73-
74- /**
75- * The constructor sets all relevant values for a map.
76- * Deprecated since 1.9.0, use {@link #builder()} instead.
77- *
78- * @param name the name from the map
79- * @param builders the builders from the map
80- * @param spawn the spawn location from the map
81- */
82- @ Contract (value = "_, _, _ -> new" , pure = true )
83- @ Deprecated (forRemoval = true , since = "1.9.0" )
84- public static @ NotNull BaseMap of (@ NotNull String name , Pos spawn , String ... builders ) {
85- return new BaseMap (name , spawn , builders );
86- }
87-
8849 /**
8950 * Creates a new instance of the {@link BaseMapBuilder} to build a new map.
9051 * The builder can be used to set all values that are required for a map.
0 commit comments