mirror of
https://github.com/zDevelopers/ImageOnMap.git
synced 2024-11-16 23:25:11 +01:00
Merge pull request #163 from zDevelopers/feature-ql-003
Use QuartzLib 0.0.3 & test against Java 8 – 15
This commit is contained in:
commit
f49ed3cae6
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@ -1,9 +1,22 @@
|
||||
name: Build & Test
|
||||
on: [push, pull_request]
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- indev
|
||||
pull_request:
|
||||
branches:
|
||||
- indev
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Test on Java ${{ matrix.java }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
java: [8, 9, 10, 11, 12, 13, 14, 15]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
@ -11,7 +24,7 @@ jobs:
|
||||
- name: Set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 8
|
||||
java-version: ${{ matrix.java }}
|
||||
|
||||
- name: Cache Maven packages
|
||||
uses: actions/cache@v2
|
||||
|
2
pom.xml
2
pom.xml
@ -98,7 +98,7 @@
|
||||
<dependency>
|
||||
<groupId>fr.zcraft</groupId>
|
||||
<artifactId>quartzlib</artifactId>
|
||||
<version>0.0.2</version>
|
||||
<version>0.0.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.bstats</groupId>
|
||||
|
@ -293,8 +293,7 @@ public class MapItemManager implements Listener {
|
||||
|
||||
}
|
||||
|
||||
|
||||
ItemUtils.consumeItem(player);
|
||||
ItemUtils.consumeItem(player, mapItem);
|
||||
}
|
||||
|
||||
private static void onItemFrameRemove(ItemFrame frame, Player player, EntityDamageByEntityEvent event) {
|
||||
|
Loading…
Reference in New Issue
Block a user