Skip to content

Commit 90d86f8

Browse files
committed
Merge branch '1.12-WIP' of https://github.com/DimensionalDevelopment/DimDoors into 1.12-WIP
2 parents 9cae321 + f6f3f53 commit 90d86f8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/org/dimdev/dimdoors/client/TileEntityFloatingRiftRenderer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public class TileEntityFloatingRiftRenderer extends TileEntitySpecialRenderer<Ti
141141
new Vector4f(0.5f,0.5f,-0.5f,0.5f)
142142
};
143143

144-
private static double angle = 0;
144+
private double angle = 0;
145145

146146
/**
147147
* Renders the rift.
@@ -177,7 +177,7 @@ public void render(TileEntityFloatingRift te, double x, double y, double z, floa
177177
}
178178

179179
private double update(float partialTicks) {
180-
angle = (angle + 3 * partialTicks) % 360;
180+
angle = (angle + 1 * partialTicks) % 360;
181181
return angle;
182182
}
183183

src/main/java/org/dimdev/dimdoors/shared/items/ItemRiftSignature.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public EnumActionResult onItemUse(EntityPlayer player, World world, BlockPos pos
7676
World sourceWorld = source.getLocation().getWorld();
7777
sourceWorld.setBlockState(source.location.getPos(), ModBlocks.RIFT.getDefaultState());
7878
TileEntityRift rift2 = (TileEntityRift) source.getLocation().getTileEntity();
79-
rift2.setSingleDestination(new GlobalDestination(source.getLocation()));
79+
rift2.setSingleDestination(new GlobalDestination(rift1.getLocation()));
8080
rift2.setRotation(source.getYaw(), 0);
8181
rift2.register();
8282

0 commit comments

Comments
 (0)