mirror of
https://github.com/kiranhart/Auction-House.git
synced 2024-11-22 05:25:11 +01:00
Closes #2
This commit is contained in:
parent
4fdd4e552d
commit
f1dbcc4eea
22
pom.xml
22
pom.xml
@ -179,6 +179,16 @@
|
||||
<id>neetgames</id>
|
||||
<url>https://nexus.neetgames.com/repository/maven-releases/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>opencollab-snapshot-repo</id>
|
||||
<url>https://repo.opencollab.dev/maven-snapshots/</url>
|
||||
<releases>
|
||||
<enabled>false</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
@ -230,6 +240,18 @@
|
||||
<version>1.4.1</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.geysermc</groupId>
|
||||
<artifactId>core</artifactId>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.geysermc.floodgate</groupId>
|
||||
<artifactId>api</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
@ -0,0 +1,10 @@
|
||||
package ca.tweetzy.auctionhouse.api.hook;
|
||||
|
||||
/**
|
||||
* The current file has been created by Kiran Hart
|
||||
* Date Created: December 14 2021
|
||||
* Time Created: 1:57 p.m.
|
||||
* Usage of any code found within this class is prohibited unless given explicit permission otherwise
|
||||
*/
|
||||
public final class FloodGateHook {
|
||||
}
|
@ -73,6 +73,8 @@ public class PlayerListeners implements Listener {
|
||||
|
||||
@EventHandler
|
||||
public void onAuctionChestClick(PlayerInteractEvent e) {
|
||||
if (ServerVersion.isServerVersionBelow(ServerVersion.V1_14)) return;
|
||||
|
||||
final Player player = e.getPlayer();
|
||||
final Block block = e.getClickedBlock();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user