From 8c6521ac2d129311a23223107c7cd803a6b0979d Mon Sep 17 00:00:00 2001 From: winterflyt <36+winterflyt@noreply.skidsolutions.xyz> Date: Mon, 30 Nov 2026 05:44:17 +0200 Subject: [PATCH] Upload files to "src/openonyx/configuration" --- src/openonyx/configuration/Event.java | 51 +++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 src/openonyx/configuration/Event.java diff --git a/src/openonyx/configuration/Event.java b/src/openonyx/configuration/Event.java new file mode 100644 index 0000000..4c3d279 --- /dev/null +++ b/src/openonyx/configuration/Event.java @@ -0,0 +1,51 @@ +package openonyx.configuration; + +public class Event { + private boolean cancelled; + + public void cancel() { + this.cancelled = true; + } + + public boolean isCancelled() { + return this.cancelled; + } + + public static String decrypt(String string) { + String string1 = string; + int m = (1 ^ 3 ^ 5) << 3 ^ 1; + int n = 96 ^ 1 << 1; + String string2; + int p = (string2 = string1).length(); + char[] d = new char[p]; + boolean bl = true; + int j; + int o = j = p - 1; + char[] c = d; + byte b = 44; + int k = o; + int i = m; + + while (k >= 0) { + n = j; + int l = string2.charAt(j); + j--; + c[n] = (char)(l ^ i); + if (j < 0) { + break; + } + + l = j--; + c[l] = (char)(string2.charAt(l) ^ b); + k = j; + } + + return new String(c); + } + + public Event() { + int i = 3 >> 2; + super(); + this.cancelled = (boolean)i; + } +}