Skip to content

Commit dcac94b

Browse files
committed
fix packets *again*, update crochet and cotton
1 parent 20a3421 commit dcac94b

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

build.gradle

+16-16
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ buildscript {
33
mavenCentral()
44
jcenter()
55
maven {
6-
name = 'Fabric'
7-
url = 'http://maven.modmuss50.me/'
6+
name = "Fabric"
7+
url = "http://maven.modmuss50.me/"
88
}
99
maven {
1010
url "https://plugins.gradle.org/m2/"
@@ -13,12 +13,12 @@ buildscript {
1313
}
1414
dependencies {
1515
classpath "com.github.jengelman.gradle.plugins:shadow:2.0.0"
16-
classpath "net.fabricmc:fabric-loom:0.2.2-SNAPSHOT"
16+
classpath "net.fabricmc:fabric-loom:0.2.3-SNAPSHOT"
1717
}
1818
}
1919

2020
plugins {
21-
id 'maven-publish'
21+
id "maven-publish"
2222
id "com.jfrog.artifactory" version "4.9.0"
2323
}
2424

@@ -28,24 +28,24 @@ apply plugin: net.fabricmc.loom.LoomGradlePlugin
2828
sourceCompatibility = 1.8
2929
targetCompatibility = 1.8
3030

31-
if(rootProject.file('private.gradle').exists()) { //Publishing details
32-
apply from: 'private.gradle'
31+
if(rootProject.file("private.gradle").exists()) { //Publishing details
32+
apply from: "private.gradle"
3333
}
3434

3535
archivesBaseName = "skillcheck"
3636
group = "io.github.cottonmc"
37-
version = "1.0.7+1.14.1"
37+
version = "1.0.8+1.14.1"
3838

3939
minecraft {
40-
refmapName = 'mixins.skillcheck.refmap.json'
40+
refmapName = "mixins.skillcheck.refmap.json"
4141
}
4242

4343
repositories {
4444
maven {
45-
url 'http://server.bbkr.space:8081/artifactory/libs-snapshot'
45+
url "http://server.bbkr.space:8081/artifactory/libs-snapshot"
4646
}
4747
maven {
48-
url = "https://minecraft.curseforge.com/api/maven"
48+
url "https://minecraft.curseforge.com/api/maven"
4949
}
5050
}
5151

@@ -56,10 +56,10 @@ dependencies {
5656
modCompile "net.fabricmc.fabric-api:fabric-api:0.3.0-pre+build.156"
5757

5858
modCompile "io.github.prospector.modmenu:ModMenu:1.5.3-84"
59-
modCompile "io.github.cottonmc:cotton:0.6.6+1.14.1-SNAPSHOT"
60-
include "io.github.cottonmc:cotton:0.6.6+1.14.1-SNAPSHOT"
61-
modCompile "crochet:Crochet:1.0.4:1"
62-
include "crochet:Crochet:1.0.4:1"
59+
modCompile "io.github.cottonmc:cotton:0.6.7+1.14.1-SNAPSHOT"
60+
include "io.github.cottonmc:cotton:0.6.7+1.14.1-SNAPSHOT"
61+
modCompile "crochet:Crochet:1.0.4"
62+
include "crochet:Crochet:1.0.4"
6363
modCompile "cloth-config:ClothConfig:0.2.1.14"
6464
include "cloth-config:ClothConfig:0.2.1.14"
6565

@@ -136,7 +136,7 @@ publishing {
136136

137137
artifactory {
138138
if (project.hasProperty("artifactoryUsername")) {
139-
contextUrl = 'http://server.bbkr.space:8081/artifactory/'
139+
contextUrl = "http://server.bbkr.space:8081/artifactory/"
140140
publish {
141141
repository {
142142
if (version.contains("SNAPSHOT")) {
@@ -149,7 +149,7 @@ artifactory {
149149
password = artifactoryPassword
150150
}
151151
defaults {
152-
publications('maven')
152+
publications("maven")
153153

154154
publishArtifacts = true
155155
publishPom = true

src/main/java/io/github/cottonmc/skillcheck/util/SkillCheckNetworking.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class SkillCheckNetworking {
2525

2626
public static void init() {
2727
if (FabricLoader.getInstance().getEnvironmentType() == EnvType.CLIENT) initClient();
28-
else initServer();
28+
initServer();
2929
}
3030

3131
public static void initClient() {

0 commit comments

Comments
 (0)