Skip to content
This repository was archived by the owner on Jun 29, 2023. It is now read-only.

Commit f62c6a2

Browse files
committed
pre-2.4.10
1 parent 9e4c9fa commit f62c6a2

4 files changed

Lines changed: 4 additions & 2 deletions

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
allprojects { apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'idea' group = 'be.isach' version = '2.5.0' compileJava.options.encoding = 'UTF-8' sourceCompatibility = 1.8 targetCompatibility = 1.8 configurations { shaded compile.extendsFrom shaded } afterEvaluate { jar { dependsOn configurations.shaded from configurations.shaded.collect { it.isDirectory() ? it : zipTree(it) } } }}boolean local = falseif (local) libsDirName = '../testserver/plugins'dependencies { subprojects.each { p -> shaded(p) { transitive false } }}subprojects { repositories { mavenLocal() mavenCentral() // Vault maven { url 'http://nexus.hc.to/content/repositories/pub_releases' } // Lib's Disguises maven { url 'http://repo.md-5.net/content/groups/public/' } maven { url 'https://repo.isach.be' } // BungeeCord maven { url 'https://oss.sonatype.org/content/repositories/snapshots' } // PlaceholderAPI maven { url 'http://repo.extendedclip.com/content/repositories/placeholderapi/' } // PlayerPoints maven { url 'https://repo.dakanilabs.com/repository/public/' } }}
1+
allprojects { apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'idea' group = 'be.isach' version = '2.4.10' compileJava.options.encoding = 'UTF-8' sourceCompatibility = 1.8 targetCompatibility = 1.8 configurations { shaded compile.extendsFrom shaded } afterEvaluate { jar { dependsOn configurations.shaded from configurations.shaded.collect { it.isDirectory() ? it : zipTree(it) } } }}boolean local = falseif (local) libsDirName = '../testserver/plugins'dependencies { subprojects.each { p -> shaded(p) { transitive false } }}subprojects { repositories { mavenLocal() mavenCentral() // Vault maven { url 'http://nexus.hc.to/content/repositories/pub_releases' } // Lib's Disguises maven { url 'http://repo.md-5.net/content/groups/public/' } maven { url 'https://repo.isach.be' } // BungeeCord maven { url 'https://oss.sonatype.org/content/repositories/snapshots' } // PlaceholderAPI maven { url 'http://repo.extendedclip.com/content/repositories/placeholderapi/' } // PlayerPoints maven { url 'https://repo.dakanilabs.com/repository/public/' } }}

core/src/main/java/be/isach/ultracosmetics/UltraCosmetics.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ private void setUpConfig() {
278278
config.addDefault("Enabled-Worlds", enabledWorlds, "List of the worlds", "where cosmetics are enabled!");
279279

280280
config.set("Disabled-Items", null);
281+
config.addDefault("Economy", "Vault");
281282

282283
if (!config.contains("TreasureChests.Loots.Gadgets")) {
283284
config.createSection("TreasureChests.Loots.Gadgets", "Chance of getting a GADGET", "This is different from ammo!");

core/src/main/java/be/isach/ultracosmetics/treasurechests/TreasureChest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ public void onBreakBlock(BlockBreakEvent event) {
439439

440440
private void spawnHologram(Location location, String s) {
441441
if (UltraCosmeticsData.get().getServerVersion().compareTo(ServerVersion.v1_9_R1) > 0
442-
&& UltraCosmeticsData.get().getServerVersion() != ServerVersion.v1_11_R1) {
442+
&& UltraCosmeticsData.get().getServerVersion().compareTo(ServerVersion.v1_11_R1) < 0) {
443443
location.setY(location.getY() - 1);
444444
}
445445
ArmorStand armorStand = (ArmorStand) location.getWorld().spawnEntity(location, EntityType.ARMOR_STAND);

core/src/main/java/be/isach/ultracosmetics/util/UpdateManager.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ public synchronized String getLastVersion() {
9696
return version;
9797
}
9898
} catch (Exception ex) {
99+
ex.printStackTrace();
99100
System.out.print("[UltraCosmetics] Failed to check for an update on spigot. ");
100101
}
101102
return null;

0 commit comments

Comments
 (0)