mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-25 14:34:36 +00:00
Entities
This commit is contained in:
1 parent
017829927f
commit
cfbf2cc538
14 files changed
+343
-282
No files matched your search
@@ -101,7 +101,7 @@ public class EntityThrownItem extends EntityItem {
|
||||
|
||||
if (RayTraceResult != null)
|
||||
{
|
||||
if (RayTraceResult.typeOfHit == RayTraceResult.Type.BLOCK && worldObj.getBlockState(RayTraceResult.getBlockPos()).getBlock() == Blocks.portal)
|
||||
if (RayTraceResult.typeOfHit == net.minecraft.util.math.RayTraceResult.Type.BLOCK && worldObj.getBlockState(RayTraceResult.getBlockPos()).getBlock() == Blocks.portal)
|
||||
{
|
||||
setPortal(RayTraceResult.getBlockPos());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user