Merge pull request #163 from zDevelopers/feature-ql-003

Use QuartzLib 0.0.3 & test against Java 8 – 15
This commit is contained in:
Vlammar 2021-04-11 23:01:39 +02:00 committed by GitHub
commit f49ed3cae6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 6 deletions

View File

@ -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

View File

@ -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>

View File

@ -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) {