Skip to content

Commit e8bbb31

Browse files
authored
Merge pull request #9 from 4drian3d/changes
Small changes
2 parents 19e3235 + fb2ca4e commit e8bbb31

File tree

8 files changed

+8
-28
lines changed

8 files changed

+8
-28
lines changed

.github/workflows/maven.yml

+3-15
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,18 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
87
runs-on: ubuntu-latest
9-
10-
# ViaPotions requires Java 16 to compile.
11-
# However, it works in Java 8 up to Java 16.
12-
strategy:
13-
matrix:
14-
java: [16]
158

169
steps:
1710
- name: Checkout Repository
1811
uses: actions/checkout@v2
1912

20-
- name: Set up JDK ${{ matrix.java }}
13+
- name: Set up JDK 16
2114
uses: actions/setup-java@v2
2215
with:
23-
java-version: ${{ matrix.java }}
16+
java-version: 16
2417
distribution: 'adopt'
2518

2619
- name: Build with Maven
2720
run: mvn -B package --file pom.xml
28-
29-
- name: Upload artifact
30-
uses: actions/[email protected]
31-
with:
32-
name: ViaPotions
33-
path: target/ViaPotions.jar
21+

pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,19 @@
4444
<dependency>
4545
<groupId>org.spigotmc</groupId>
4646
<artifactId>spigot-api</artifactId>
47-
<version>1.16.5-R0.1-SNAPSHOT</version>
47+
<version>1.17.1-R0.1-SNAPSHOT</version>
4848
<scope>provided</scope>
4949
</dependency>
5050
<dependency>
5151
<groupId>com.viaversion</groupId>
5252
<artifactId>viaversion-api</artifactId>
53-
<version>4.0.0</version>
53+
<version>4.0.1</version>
5454
<scope>provided</scope>
5555
</dependency>
5656
<dependency>
5757
<groupId>com.comphenix.protocol</groupId>
5858
<artifactId>ProtocolLib</artifactId>
59-
<version>4.6.0</version>
59+
<version>4.7.0</version>
6060
</dependency>
6161
</dependencies>
6262
</project>

src/dev/_2lstudios/viapotions/adapters/WorldEventAdapter.java

-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ public WorldEventAdapter(final Plugin plugin, final VersionUtil versionUtil) {
2323
this.versionUtil = versionUtil;
2424
}
2525

26-
@Override
27-
public void onPacketReceiving(PacketEvent event) {
28-
}
29-
3026
@Override
3127
public void onPacketSending(PacketEvent event) {
3228
final PacketContainer packet = event.getPacket();

src/dev/_2lstudios/viapotions/utils/ConfigurationUtil.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ public YamlConfiguration getConfiguration(String filePath) {
2222
return new YamlConfiguration();
2323
}
2424
}
25-
26-
}
25+
}

src/dev/_2lstudios/viapotions/utils/PotionTranslator.java

-1
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,4 @@ public PotionEffectType getPotionEffectType() {
3636
public TranslationData[] getDatas() {
3737
return datas;
3838
}
39-
4039
}

src/dev/_2lstudios/viapotions/utils/SplashTranslator.java

-1
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,4 @@ public int getRGB() {
3333
public TranslationData[] getDatas() {
3434
return datas;
3535
}
36-
3736
}

src/dev/_2lstudios/viapotions/utils/TranslationData.java

-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ public int getLowestVersion() {
2020
public int getHighestVersion() {
2121
return highestVersion;
2222
}
23-
2423
}

src/resources/plugin.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ api-version: 1.13
66
softdepend:
77
- "ViaRewind"
88
- "ViaRewind-Legacy-Support"
9-
main: dev._2lstudios.viarewindpotions.Main
9+
main: dev._2lstudios.viapotions.ViaPotions

0 commit comments

Comments
 (0)