Skip to content

Commit 87fc785

Browse files
committed
diabeto roll back to kitchen
1 parent eaad4d8 commit 87fc785

File tree

6 files changed

+18
-1003
lines changed

6 files changed

+18
-1003
lines changed

pom.xml

Lines changed: 15 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -52,49 +52,11 @@
5252
</distributionManagement>
5353

5454
<dependencies>
55-
<dependency>
56-
<groupId>com.github.retrooper</groupId>
57-
<artifactId>packetevents-spigot</artifactId>
58-
<version>2.5.0</version>
59-
<scope>provided</scope>
60-
<exclusions>
61-
<exclusion>
62-
<groupId>com.google.code.gson</groupId>
63-
<artifactId>gson</artifactId>
64-
</exclusion>
65-
<exclusion>
66-
<groupId>org.jetbrains</groupId>
67-
<artifactId>annotations</artifactId>
68-
</exclusion>
69-
<exclusion>
70-
<groupId>com.github.retrooper</groupId>
71-
<artifactId>packetevents-api</artifactId>
72-
</exclusion>
73-
<exclusion>
74-
<groupId>com.github.retrooper.packetevents</groupId>
75-
<artifactId>netty-common</artifactId>
76-
</exclusion>
77-
</exclusions>
78-
</dependency>
7955
<dependency>
8056
<groupId>com.github.retrooper</groupId>
8157
<artifactId>packetevents-api</artifactId>
82-
<version>2.5.0</version>
58+
<version>2.7.0</version>
8359
<scope>provided</scope>
84-
<exclusions>
85-
<exclusion>
86-
<groupId>com.google.code.gson</groupId>
87-
<artifactId>gson</artifactId>
88-
</exclusion>
89-
<exclusion>
90-
<groupId>org.jetbrains</groupId>
91-
<artifactId>annotations</artifactId>
92-
</exclusion>
93-
<exclusion>
94-
<groupId>com.github.retrooper.packetevents</groupId>
95-
<artifactId>netty-common</artifactId>
96-
</exclusion>
97-
</exclusions>
9860
</dependency>
9961

10062
<dependency>
@@ -133,13 +95,6 @@
13395
<version>${spigot.version}</version>
13496
<scope>provided</scope>
13597
</dependency>
136-
<dependency>
137-
<groupId>it.unimi.dsi</groupId>
138-
<artifactId>fastutil</artifactId>
139-
<version>8.5.12</version>
140-
<type>jar</type>
141-
<scope>compile</scope>
142-
</dependency>
14398
<dependency>
14499
<groupId>com.comphenix.protocol</groupId>
145100
<artifactId>ProtocolLib</artifactId>
@@ -185,22 +140,21 @@
185140
</excludes>
186141
</filter>
187142
</filters>
188-
189143
<!-- Do it in a plugin -->
190-
<!-- <relocations>-->
191-
<!-- <relocation>-->
192-
<!-- <pattern>com.github.retrooper</pattern>-->
193-
<!-- <shadedPattern>xyz.refinedev.lib.com.github.retrooper</shadedPattern>-->
194-
<!-- </relocation>-->
195-
<!-- <relocation>-->
196-
<!-- <pattern>io.github.retrooper</pattern>-->
197-
<!-- <shadedPattern>xyz.refinedev.lib.io.github.retrooper</shadedPattern>-->
198-
<!-- </relocation>-->
199-
<!-- <relocation>-->
200-
<!-- <pattern>net.kyori</pattern>-->
201-
<!-- <shadedPattern>xyz.refinedev.lib.com.github.retrooper.libs.net.kyori</shadedPattern>-->
202-
<!-- </relocation>-->
203-
<!-- </relocations>-->
144+
<!-- <relocations>-->
145+
<!-- <relocation>-->
146+
<!-- <pattern>com.github.retrooper</pattern>-->
147+
<!-- <shadedPattern>xyz.refinedev.lib.com.github.retrooper</shadedPattern>-->
148+
<!-- </relocation>-->
149+
<!-- <relocation>-->
150+
<!-- <pattern>io.github.retrooper</pattern>-->
151+
<!-- <shadedPattern>xyz.refinedev.lib.io.github.retrooper</shadedPattern>-->
152+
<!-- </relocation>-->
153+
<!-- <relocation>-->
154+
<!-- <pattern>net.kyori</pattern>-->
155+
<!-- <shadedPattern>xyz.refinedev.lib.com.github.retrooper.libs.net.kyori</shadedPattern>-->
156+
<!-- </relocation>-->
157+
<!-- </relocations>-->
204158

205159
</configuration>
206160
<executions>

src/main/java/xyz/refinedev/api/tablist/TablistPlugin.java

Lines changed: 0 additions & 56 deletions
This file was deleted.

src/main/java/xyz/refinedev/api/tablist/adapter/impl/ExampleAdapter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
package xyz.refinedev.api.tablist.adapter.impl;
22

3-
import it.unimi.dsi.fastutil.objects.ObjectArrayList;
43
import org.bukkit.entity.Player;
54
import xyz.refinedev.api.skin.CachedSkin;
65
import xyz.refinedev.api.tablist.adapter.TabAdapter;
76
import xyz.refinedev.api.tablist.setup.TabEntry;
87
import xyz.refinedev.api.tablist.util.Skin;
98
import xyz.refinedev.api.tablist.util.StringUtils;
109

10+
import java.util.ArrayList;
1111
import java.util.List;
1212

1313
/**
@@ -51,7 +51,7 @@ public String getFooter(Player player) {
5151
*/
5252
@Override
5353
public List<TabEntry> getLines(Player player) {
54-
List<TabEntry> entries = new ObjectArrayList<>();
54+
List<TabEntry> entries = new ArrayList<>();
5555

5656
for ( int i = 0; i < 4; i++ ) {
5757
int ping = StringUtils.MINOR_VERSION > 12 ? player.getPing() : 69;

src/main/java/xyz/refinedev/api/tablist/setup/TabLayout.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class TabLayout {
3939

4040
public static String[] TAB_NAMES = new String[80];
4141

42-
private final Map<Integer, TabEntryInfo> entryMapping = new Int2ObjectArrayMap<>();
42+
private final Map<Integer, TabEntryInfo> entryMapping = new HashMap<>();
4343

4444
/**
4545
* {@link Integer Mod} is the modification integer

src/main/resources/plugin.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)