aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/cc/woverflow/chatting/utils
diff options
context:
space:
mode:
authorWyvest <45589059+Wyvest@users.noreply.github.com>2022-01-09 00:15:10 +0700
committerWyvest <45589059+Wyvest@users.noreply.github.com>2022-01-09 00:15:10 +0700
commitddc94dc9388086657b889d8fd43a82bcadd82bbe (patch)
treea407b76c62122298e43ff51b10a78114637d5bba /src/main/kotlin/cc/woverflow/chatting/utils
parent7612c2e65d07e9b3ce13729da4eb95a6d7173a71 (diff)
downloadChatting-ddc94dc9388086657b889d8fd43a82bcadd82bbe.tar.gz
Chatting-ddc94dc9388086657b889d8fd43a82bcadd82bbe.tar.bz2
Chatting-ddc94dc9388086657b889d8fd43a82bcadd82bbe.zip
fix chat copy being in the wrong position
Diffstat (limited to 'src/main/kotlin/cc/woverflow/chatting/utils')
-rw-r--r--src/main/kotlin/cc/woverflow/chatting/utils/ListenableArrayList.kt9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/main/kotlin/cc/woverflow/chatting/utils/ListenableArrayList.kt b/src/main/kotlin/cc/woverflow/chatting/utils/ListenableArrayList.kt
deleted file mode 100644
index 0cd598c..0000000
--- a/src/main/kotlin/cc/woverflow/chatting/utils/ListenableArrayList.kt
+++ /dev/null
@@ -1,9 +0,0 @@
-package cc.woverflow.chatting.utils
-
-class ListenableArrayList<T>(private val runnable: (ListenableArrayList<T>) -> Unit, vararg elements: T): ArrayList<T>() {
- override fun add(element: T): Boolean {
- val value = super.add(element)
- runnable.invoke(this)
- return value
- }
-} \ No newline at end of file