-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug with craftevent when using anything do to do from the crazyenchants/envoys/vouchers #215
Comments
Hey! Thanks so much for the report :) I don't have much time at the moment, but I looked into it quickly: FastCraft: CrazyEnchantments is calling So FastCraft only has But it looks like PaperMC adds an extra |
alright but would it be yourside or there side? |
It's definitely not a problem with CrazyEnchantments. It's just using functions that are available. It might be something I can support on my end by dynamically adding any other functions that might exist Either that or PaperMC itself, but that feels like a big ask |
ok |
It'll be a couple days before I can look into it, but I'll see if I can find a solution when I get a chance :) |
alright thanks |
any luck on this? |
I just tried a quick and dirty solution that seems to work. Let me know if it fixes it for you, and I'll continue playing around with it and put up a new release when I get a chance. I've been busy with building a resume and starting up a job hunt haha And if this works for you, there's no problem if you use it on your server indefinitely. Here's the change to @Suppress("unused")
@Deprecated("Delegates interface method added by PaperMC in 1.15.2", level = DeprecationLevel.HIDDEN)
fun getHolder(useSnapshot: Boolean): InventoryHolder? {
return baseInventory::class.java
.getMethod("getHolder", Boolean::class.java)
.invoke(baseInventory, useSnapshot) as InventoryHolder?
} Fixed plugin: |
ok i will try it and let you know thanks |
If that was a problem, do you have any errors you can share? And here's another change you can try: FastCraft-3.2.13-dirty-2.zip @Suppress("unused", "UNUSED_PARAMETER")
@Deprecated("Delegates interface method added by PaperMC in 1.15.2", level = DeprecationLevel.HIDDEN)
fun getHolder(useSnapshot: Boolean): InventoryHolder? {
return baseInventory.holder
} |
it was hosts side crashes but i have fully tested it just waiting on my
host to see if they fixed the issue for there side before i add anything new
…On Sun, Nov 3, 2024 at 4:40 PM Ben Woodworth ***@***.***> wrote:
@YTCoolGunner <https://github.com/YTCoolGunner>
as soon as i put it in my server it started crashing every other plugin
and making it that they are running out of memory
(I got an email saying you replied with this, but I'm not seeing the reply
on this issue...?)
image.png (view on web)
<https://github.com/user-attachments/assets/db05374d-122b-4f68-bd7c-027f0a6835a8>
If that was a problem, do you have any errors you can share?
And here's another change you can try: FastCraft-3.2.13-dirty-2.zip
<https://github.com/user-attachments/files/17612187/FastCraft-3.2.13-dirty-2.zip>
@Suppress("unused", "UNUSED_PARAMETER")
@deprecated("Delegates interface method added by PaperMC in 1.15.2", level = DeprecationLevel.HIDDEN)fun getHolder(useSnapshot: Boolean): InventoryHolder? {
return baseInventory.holder
}
—
Reply to this email directly, view it on GitHub
<#215 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BMPBJTILR2LE2TCO3YFDSRLZ62C35AVCNFSM6AAAAABQWI3NKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJTGU4DMMRRGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
i just got a new pc fan in havnt been able to use pc much gonna try this and see if it happens still soon |
bug with craftevent when using anything do to do from the crazyenchants/envoys/vouchers
spams conolse not sure if its your end or their end
Stack Trace
The text was updated successfully, but these errors were encountered: