Skip to content

Commit e133c6a

Browse files
committed
Update dependencies
1 parent d09ed06 commit e133c6a

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ repositories {
3131
}
3232

3333
dependencies {
34-
compile 'org.projectlombok:lombok:1.16.6'
35-
compile 'tc.oc:sportbukkit-api:1.10-R0.1-SNAPSHOT'
36-
// compile 'tc.oc:sportbukkit:1.10-R0.1-SNAPSHOT' -Leaving this disabled until we need to enable it
37-
compile 'ee.ellytr.command:EllyCommand:2.0.0'
38-
compile 'ee.ellytr.chat:EllyChat:1.1.0'
34+
compile 'org.projectlombok:lombok:1.16.8'
35+
compile 'tc.oc:sportbukkit-api:1.10.2-R0.1-SNAPSHOT'
36+
// compile 'tc.oc:sportbukkit:1.10.2-R0.1-SNAPSHOT' -Leaving this disabled until we need to enable it
37+
compile 'ee.ellytr.command:EllyCommand:2.0.3'
38+
compile 'ee.ellytr.chat:EllyChat:1.2.5'
3939
compile 'org.jdom:jdom2:2.0.6'
4040
compile 'org.ow2.asm:asm-all:5.0.4'
4141

42-
testCompile('junit:junit:4.10')
42+
testCompile('junit:junit:4.12')
4343
}
4444

4545
processResources {
@@ -60,8 +60,8 @@ shadowJar {
6060
relocate 'org.jdom2', 'in.twizmwaz.cardinal.libs.jdom2'
6161
include(dependency('org.ow2.asm:asm-all:5.0.4'))
6262
relocate 'org.objectweb.asm', 'in.twizmwaz.cardinal.libs.asm'
63-
include(dependency('ee.ellytr.command:EllyCommand:2.0.0'))
64-
include(dependency('ee.ellytr.chat:EllyChat:1.1.0'))
63+
include(dependency('ee.ellytr.command:EllyCommand:2.0.3'))
64+
include(dependency('ee.ellytr.chat:EllyChat:1.2.5'))
6565
}
6666
}
6767

src/main/java/in/twizmwaz/cardinal/module/channel/AbstractChannel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class AbstractChannel implements Channel {
4444
public void sendMessage(BaseComponent... components) {
4545
for (Player player : players) {
4646
List<BaseComponent> toSend = Lists.newArrayList();
47-
Locale locale = ChatUtil.getLocale(player);
47+
Locale locale = ChatUtil.getLocale(player.getLocale());
4848
for (BaseComponent component : components) {
4949
if (component instanceof LanguageComponent) {
5050
toSend.addAll(Arrays.asList(((LanguageComponent) component).getComponents(locale)));

src/main/java/in/twizmwaz/cardinal/module/objective/core/Core.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public void onBlockBreak(BlockBreakEvent event) {
139139
ChatConstant.getConstant("objective.core.touched"),
140140
new TeamComponent(this.team),
141141
new UnlocalizedComponent(name),
142-
Components.getNameComponentBuilder(player).flairs(false).build())));
142+
Components.getNameComponentBuilder(player).build())));
143143
}
144144
Bukkit.getPluginManager().callEvent(new ObjectiveTouchEvent(this, player, showMessage));
145145
}

src/main/java/in/twizmwaz/cardinal/module/objective/wool/Wool.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public void onInventoryClick(InventoryClickEvent event) {
148148
.color(Colors.convertDyeToChatColor(color)).build()).build()));
149149
Channels.getTeamChannel(match, Team.getObservers(match)).sendMessage(Components.appendTeamPrefix(team,
150150
new LocalizedComponentBuilder(ChatConstant.getConstant("objective.wool.touchedFor"),
151-
Components.getNameComponentBuilder(player).flairs(false).build(),
151+
Components.getNameComponentBuilder(player).build(),
152152
new UnlocalizedComponentBuilder(getName()).color(Colors.convertDyeToChatColor(color)).build(),
153153
new TeamComponent(team)).build()));
154154
}
@@ -176,12 +176,12 @@ public void onPlayerPickupItem(PlayerPickupItemEvent event) {
176176
Match match = getMatch();
177177
Channels.getTeamChannel(match, team).sendMessage(Components.appendTeamPrefix(team,
178178
new LocalizedComponentBuilder(ChatConstant.getConstant("objective.wool.touched"),
179-
Components.getNameComponentBuilder(player).flairs(false).build(),
179+
Components.getNameComponentBuilder(player).build(),
180180
new UnlocalizedComponentBuilder(getName())
181181
.color(Colors.convertDyeToChatColor(color)).build()).build()));
182182
Channels.getTeamChannel(match, Team.getObservers(match)).sendMessage(Components.appendTeamPrefix(team,
183183
new LocalizedComponentBuilder(ChatConstant.getConstant("objective.wool.touchedFor"),
184-
Components.getNameComponentBuilder(player).flairs(false).build(),
184+
Components.getNameComponentBuilder(player).build(),
185185
new UnlocalizedComponentBuilder(getName()).color(Colors.convertDyeToChatColor(color)).build(),
186186
new TeamComponent(team)).build()));
187187
}

0 commit comments

Comments
 (0)