This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Parallel execution is an incubating feature. | |
| FAILURE: Build failed with an exception. | |
| * Where: | |
| Build file '/home/demonwav/IdeaProjects/test/test-forge/build.gradle' line: 18 | |
| * What went wrong: | |
| A problem occurred evaluating project ':test-forge'. | |
| > Failed to apply plugin [id 'org.gradle.idea'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Nullable | |
| @Override | |
| public String[] getIgnoreAnnotations() { | |
| return ImmutableList.of("org.spongepowered.api.event.Listener", "org.bukkit.event.EventHandler").toArray(new String[2]); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| configure<IdeaModel> { | |
| project.apply { | |
| jdkName = "1.8" | |
| setLanguageLevel("1.8") | |
| } | |
| module.apply { | |
| excludeDirs.add(File(".sandbox")) | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| configure<IdeaModel> { | |
| project(closureOf<IdeaProject> { | |
| jdkName = "1.8" | |
| setLanguageLevel("1.8") | |
| }) | |
| module(closureOf<IdeaModule> { | |
| excludeDirs.add(File(".sandbox")) | |
| }) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * StatCraft Plugin | |
| * | |
| * Copyright (c) 2016 Kyle Wood (DemonWav) | |
| * https://www.demonwav.com | |
| * | |
| * MIT License | |
| */ | |
| package com.demonwav.statcraft.listeners |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * StatCraft Plugin | |
| * | |
| * Copyright (c) 2016 Kyle Wood (DemonWav) | |
| * https://www.demonwav.com | |
| * | |
| * MIT License | |
| */ | |
| repositories { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| override fun getPlayerId(uuid: UUID) = | |
| synchronized(this) { | |
| if (playerMap.contains(uuid)) { | |
| return@synchronized playerMap[uuid]!! | |
| } | |
| // We don't have this UUID cached, so check the database | |
| var result: Int? = null | |
| // byte array representation of the UUID | |
| val array = uuid.toByte() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| override fun getPlayerId(uuid: UUID) = | |
| synchronized(this) { | |
| if (playerMap.contains(uuid)) { | |
| return@synchronized playerMap[uuid]!! | |
| } | |
| // We don't have this UUID cached, so check the database | |
| var result: Int? = null | |
| // byte array representation of the UUID | |
| val array = uuid.toByte() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| override fun getPlayerId(uuid: UUID): Int? { | |
| if (playerMap.contains(uuid)) { | |
| return playerMap[uuid]!! | |
| } | |
| // We don't have this UUID cached, so check the database | |
| var result: Int? = null | |
| synchronized(this) { | |
| // byte array representation of the UUID | |
| val array = uuid.toByte() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * StatCraft Plugin | |
| * | |
| * Copyright (c) 2016 Kyle Wood (DemonWav) | |
| * https://www.demonwav.com | |
| * | |
| * MIT License | |
| */ | |
| package com.demonwav.statcraft.sql |