Skip to content
This repository was archived by the owner on Jul 20, 2020. It is now read-only.

Commit a7912f9

Browse files
committed
Update to Minecraft 1.12
1 parent b7d7f11 commit a7912f9

File tree

34 files changed

+91
-383
lines changed

34 files changed

+91
-383
lines changed

API/api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>tc.oc</groupId>
66
<artifactId>api-parent</artifactId>
77
<relativePath>../pom.xml</relativePath>
8-
<version>1.11-SNAPSHOT</version>
8+
<version>1.12.0</version>
99
</parent>
1010

1111
<artifactId>api</artifactId>

API/bukkit/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>tc.oc</groupId>
66
<artifactId>api-parent</artifactId>
77
<relativePath>../pom.xml</relativePath>
8-
<version>1.11-SNAPSHOT</version>
8+
<version>1.12.0</version>
99
</parent>
1010

1111
<artifactId>api-bukkit</artifactId>

API/bungee/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>tc.oc</groupId>
66
<artifactId>api-parent</artifactId>
77
<relativePath>../pom.xml</relativePath>
8-
<version>1.11-SNAPSHOT</version>
8+
<version>1.12.0</version>
99
</parent>
1010

1111
<artifactId>api-bungee</artifactId>

API/minecraft/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>tc.oc</groupId>
66
<artifactId>api-parent</artifactId>
77
<relativePath>../pom.xml</relativePath>
8-
<version>1.11-SNAPSHOT</version>
8+
<version>1.12.0</version>
99
</parent>
1010

1111
<artifactId>api-minecraft</artifactId>

API/ocn/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>tc.oc</groupId>
66
<artifactId>api-parent</artifactId>
77
<relativePath>../pom.xml</relativePath>
8-
<version>1.11-SNAPSHOT</version>
8+
<version>1.12.0</version>
99
</parent>
1010

1111
<artifactId>api-ocn</artifactId>

API/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>tc.oc</groupId>
66
<artifactId>ProjectAres</artifactId>
77
<relativePath>../pom.xml</relativePath>
8-
<version>1.11-SNAPSHOT</version>
8+
<version>1.12.0</version>
99
</parent>
1010

1111
<artifactId>api-parent</artifactId>

Commons/bukkit/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<artifactId>commons</artifactId>
99
<groupId>tc.oc</groupId>
1010
<relativePath>../pom.xml</relativePath>
11-
<version>1.11-SNAPSHOT</version>
11+
<version>1.12.0</version>
1212
</parent>
1313

1414
<artifactId>commons-bukkit</artifactId>
@@ -44,11 +44,11 @@
4444
<dependency>
4545
<groupId>com.github.rmsy.Channels</groupId>
4646
<artifactId>Channels</artifactId>
47-
<version>1.9-SNAPSHOT</version>
47+
<version>1.12.2.0</version>
4848
<exclusions>
4949
<exclusion>
50-
<groupId>org.bukkit</groupId>
51-
<artifactId>bukkit</artifactId>
50+
<groupId>tc.oc</groupId>
51+
<artifactId>sportbukkit</artifactId>
5252
</exclusion>
5353
</exclusions>
5454
</dependency>

Commons/bukkit/src/main/java/tc/oc/commons/bukkit/chat/LinkComponent.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,9 @@ private BaseComponent displayLink(URI uri) {
9191
}
9292
return new Component(display);
9393
}
94+
95+
@Override
96+
public BaseComponent duplicateWithoutFormatting() {
97+
return duplicate();
98+
}
9499
}

Commons/bukkit/src/main/java/tc/oc/commons/bukkit/chat/PlayerComponent.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ public BaseComponent duplicate() {
5353
return new PlayerComponent(this);
5454
}
5555

56+
@Override
57+
public BaseComponent duplicateWithoutFormatting() {
58+
return duplicate();
59+
}
60+
5661
@Override
5762
protected void toStringFirst(List<String> fields) {
5863
super.toStringFirst(fields);

Commons/bukkit/src/main/java/tc/oc/commons/bukkit/chat/TemplateComponent.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ public BaseComponent duplicate() {
2929
return new TemplateComponent(message, with);
3030
}
3131

32+
@Override
33+
public BaseComponent duplicateWithoutFormatting() {
34+
return duplicate();
35+
}
36+
3237
@Override
3338
public BaseComponent render(ComponentRenderContext context, CommandSender viewer) {
3439
return new Component(Components.format(message.format(viewer),

0 commit comments

Comments
 (0)