Skip to content

Commit b117bc7

Browse files
committed
deprecate MathHelper. Use MathUtil instead
1 parent f84a7fb commit b117bc7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/main/java/com/falsepattern/lib/compat/MathHelper.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,16 @@
2020
*/
2121
package com.falsepattern.lib.compat;
2222

23+
import com.falsepattern.lib.DeprecationDetails;
24+
import com.falsepattern.lib.util.MathUtil;
25+
2326
import java.util.Random;
2427

2528
/**
26-
* This is here because the real MathHelper has some of its methods only present in clientside, some of which we
27-
* actually DO need in serverside.
29+
* Alert: This class will be removed in 0.11, migrate to {@link MathUtil}!
2830
*/
31+
@Deprecated
32+
@DeprecationDetails(deprecatedSince = "0.10.0")
2933
public class MathHelper {
3034
/**
3135
* Though it looks like an array, this is really more like a mapping. Key (index of this array) is the upper 5 bits

0 commit comments

Comments
 (0)