Fixes Rift Signature Logic with only one-sided teleports
This commit is contained in:
parent
99bb633b64
commit
abdf76d9c4
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ public class ItemRiftSignature extends Item {
|
|||
World sourceWorld = source.getLocation().getWorld();
|
||||
sourceWorld.setBlockState(source.location.getPos(), ModBlocks.RIFT.getDefaultState());
|
||||
TileEntityRift rift2 = (TileEntityRift) source.getLocation().getTileEntity();
|
||||
rift2.setSingleDestination(new GlobalDestination(source.getLocation()));
|
||||
rift2.setSingleDestination(new GlobalDestination(rift1.getLocation()));
|
||||
rift2.setRotation(source.getYaw(), 0);
|
||||
rift2.register();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue