mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Fix axis alignedbb
This commit is contained in:
parent
db7681676e
commit
f7bd48cc9a
@ -1,6 +1,7 @@
|
||||
package com.volmit.iris.util;
|
||||
|
||||
import com.volmit.iris.object.IrisPosition;
|
||||
import org.bukkit.World;
|
||||
|
||||
public class AxisAlignedBB
|
||||
{
|
||||
@ -65,4 +66,8 @@ public class AxisAlignedBB
|
||||
{
|
||||
return new IrisPosition((int)xa, (int)ya, (int)za);
|
||||
}
|
||||
|
||||
public Cuboid toCuboid(World world) {
|
||||
return new Cuboid(min().toLocation(world), max().toLocation(world));
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user