mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Fix some of the things that were broken, add more type-specs.
This commit is contained in:
1 parent
7440adb103
commit
7b4fefeb60
55 files changed
+152
-118
No files matched your search
@@ -227,7 +227,7 @@ public class Coord4D extends BlockPos
|
||||
*/
|
||||
public Coord4D offset(EnumFacing facing, int n)
|
||||
{
|
||||
return n == 0 ? this : new Coord4D(this.getX() + facing.getFrontOffsetX() * n, this.getY() + facing.getFrontOffsetY() * n, this.getZ() + facing.getFrontOffsetZ() * n);
|
||||
return (facing == null || n == 0) ? this : new Coord4D(this.getX() + facing.getFrontOffsetX() * n, this.getY() + facing.getFrontOffsetY() * n, this.getZ() + facing.getFrontOffsetZ() * n);
|
||||
}
|
||||
|
||||
public ItemStack getStack(IBlockAccess world)
|
||||
|
||||
Reference in new issue
Block a user