mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 08:27:43 +01:00
include pufferfish patches
This commit is contained in:
24
patches/api/0005-Purpur-client-support.patch
Normal file
24
patches/api/0005-Purpur-client-support.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Fredthedoggy <45927799+fredthedoggy@users.noreply.github.com>
|
||||
Date: Thu, 19 Aug 2021 20:04:18 -0400
|
||||
Subject: [PATCH] Purpur client support
|
||||
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
|
||||
index b5fd857896b3afcfa69cce55cbc2696dd625f805..7ff5d4554be858e6bad5440b8847e3f21523f796 100644
|
||||
--- a/src/main/java/org/bukkit/entity/Player.java
|
||||
+++ b/src/main/java/org/bukkit/entity/Player.java
|
||||
@@ -3000,4 +3000,13 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
||||
@Override
|
||||
Spigot spigot();
|
||||
// Spigot end
|
||||
+
|
||||
+ // Purpur start
|
||||
+ /**
|
||||
+ * Allows you to get if player uses Purpur Client
|
||||
+ *
|
||||
+ * @return True if Player uses Purpur Client
|
||||
+ */
|
||||
+ public boolean usesPurpurClient();
|
||||
+ // Purpur end
|
||||
}
|
||||
Reference in New Issue
Block a user