Update Drone to only build on main branch
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
452471c665
commit
4c66cf42fe
@ -6,4 +6,7 @@ steps:
|
|||||||
image: maven:3-eclipse-temurin-17
|
image: maven:3-eclipse-temurin-17
|
||||||
commands:
|
commands:
|
||||||
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
||||||
- mvn test -B
|
- mvn test -B
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- main
|
@ -34,6 +34,7 @@ public class UhcCore extends JavaPlugin
|
|||||||
|
|
||||||
// We need to run this in a task, because the plugin has to be initialized AFTER all the worlds are loaded.
|
// We need to run this in a task, because the plugin has to be initialized AFTER all the worlds are loaded.
|
||||||
// todo: after a few months, this sounds like a badly implemented idea
|
// todo: after a few months, this sounds like a badly implemented idea
|
||||||
|
// ^ i agree, why the hell is this happening?
|
||||||
getServer().getScheduler().runTask(this, ()->
|
getServer().getScheduler().runTask(this, ()->
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user