Deprecate getAABBPool so people can stop using it in mods. Failure to do so will result in 1.7.10 upgrade incompatibility. Use getBoundingBox instead.
This commit is contained in:
parent
3084368af3
commit
fada1ad7bb
1 changed files with 10 additions and 0 deletions
|
@ -0,0 +1,10 @@
|
|||
--- ../src-base/minecraft/net/minecraft/util/AxisAlignedBB.java
|
||||
+++ ../src-work/minecraft/net/minecraft/util/AxisAlignedBB.java
|
||||
@@ -23,6 +23,7 @@
|
||||
return new AxisAlignedBB(p_72330_0_, p_72330_2_, p_72330_4_, p_72330_6_, p_72330_8_, p_72330_10_);
|
||||
}
|
||||
|
||||
+ @Deprecated /* This method has been deprecated as it no longer exists in 1.7.10. Use getBoundingBox directly. */
|
||||
public static AABBPool func_72332_a()
|
||||
{
|
||||
return (AABBPool)field_72335_g.get();
|
Loading…
Reference in a new issue