This commit is contained in:
Chicken-Bomes committed 2014-06-27 15:09:32 +10:00
1 parent bdb0c8f174
commit 93b1e5dbf0
4 files changed
+5 -7

No files matched your search

+2 -2
View File
@@ -1,3 +1,3 @@
minecraft_version=1.7.2
forge_version=10.12.0.1054
minecraft_version=1.7.10
forge_version=10.13.0.1151
mod_version=1.1.1
+1 -1
View File
@@ -101,7 +101,7 @@ public class GuiDraw
public static Dimension displaySize() {
Minecraft mc = Minecraft.getMinecraft();
ScaledResolution res = new ScaledResolution(mc.gameSettings, mc.displayWidth, mc.displayHeight);
ScaledResolution res = new ScaledResolution(mc, mc.displayWidth, mc.displayHeight);
return new Dimension(res.getScaledWidth(), res.getScaledHeight());
}
+1 -1
View File
@@ -538,7 +538,7 @@ public final class PacketCustom implements MCDataInput, MCDataOutput
public static void sendToOps(Packet packet) {
for (EntityPlayerMP player : (List<EntityPlayerMP>) MinecraftServer.getServer().getConfigurationManager().playerEntityList)
if (MinecraftServer.getServer().getConfigurationManager().isPlayerOpped(player.getCommandSenderName()))
if (MinecraftServer.getServer().getConfigurationManager().func_152596_g(player.getGameProfile()))
sendToPlayer(packet, player);
}
+1 -3
View File
@@ -790,9 +790,7 @@ public class CCModel implements CCRenderState.IVertexSource, Copyable<CCModel>
*/
public CCModel sidedCopy(int side1, int side2, Vector3 point)
{
CCModel model = newModel(vertexMode, verts.length);
copy(this, 0, model, 0, model.verts.length);
return model.apply(new TransformationList(sideRotations[side1].inverse(), sideRotations[side2]).at(point));
return copy().apply(new TransformationList(sideRotations[side1].inverse(), sideRotations[side2]).at(point));
}
/**