Merge branch 'development'

This commit is contained in:
Brianna 2020-05-06 11:40:28 -04:00
commit d0c79f0347
4 changed files with 9 additions and 5 deletions

View File

@ -4,7 +4,7 @@ stages:
variables:
name: "SongodaCore"
path: "/builds/$CI_PROJECT_PATH"
version: "2.3.30"
version: "2.3.31"
build:
stage: build

View File

@ -115,9 +115,9 @@
</build>
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.15</version>
<groupId>com.destroystokyo.papermc</groupId>
<artifactId>paper</artifactId>
<version>1.15.2</version>
</dependency>
<!--dependency>
<groupId>org.spigotmc</groupId>

View File

@ -315,7 +315,7 @@ public class CommandManager implements CommandExecutor, TabCompleter {
// If we're on Paper 1.8, we need to register timings (spigot creates timings on init, paper creates it on register)
// later versions of paper create timings if needed when the command is executed
if (ServerProject.isServer(ServerProject.PAPER, ServerProject.TACO) && ServerVersion.isServerVersionBelow(ServerVersion.V1_9)) {
//commandObject.timings = co.aikar.timings.TimingsManager.getCommandTiming(plugin.getName().toLowerCase(), commandObject);
commandObject.timings = co.aikar.timings.TimingsManager.getCommandTiming(plugin.getName().toLowerCase(), commandObject);
}
// Set command action

View File

@ -87,6 +87,10 @@ public class ClientVersion {
case 490:
case 498:
return ServerVersion.V1_14;
case 573:
case 575:
case 578:
return ServerVersion.V1_15;
}
return version > 498 ? ServerVersion.getServerVersion() : ServerVersion.UNKNOWN;
}