mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
This branch/commit is only useful to those who purely use a clean Bukkit/Spigot/Paper API and does not use NMS/OBC references. This will let you start updating your plugin to the latest 1.13 builds of Bukkit Preview (4 as of now) Note that this release is not final!!! API breakages may occur! It is up to you if you find use out of this work.
26 lines
986 B
Diff
26 lines
986 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Alex Bennett <alex.eugene.bennett@gmail.com>
|
|
Date: Thu, 11 Jul 2013 15:31:32 -0500
|
|
Subject: [PATCH] Added getAllSessionData() to the Conversation API.
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/conversations/ConversationContext.java b/src/main/java/org/bukkit/conversations/ConversationContext.java
|
|
index 4f33ff46..7390a771 100644
|
|
--- a/src/main/java/org/bukkit/conversations/ConversationContext.java
|
|
+++ b/src/main/java/org/bukkit/conversations/ConversationContext.java
|
|
@@ -0,0 +0,0 @@ public class ConversationContext {
|
|
return forWhom;
|
|
}
|
|
|
|
+ /**
|
|
+ * Gets the entire sessionData map.
|
|
+ * @return The full sessionData map.
|
|
+ */
|
|
+ public Map<Object, Object> getAllSessionData() {
|
|
+ return sessionData;
|
|
+ }
|
|
+
|
|
/**
|
|
* Gets session data shared between all {@link Prompt} invocations. Use
|
|
* this as a way to pass data through each Prompt as the conversation
|
|
--
|