Skip to content
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

Conflict with ThatPacketAddon on 1.14.4 (Paper and spigot) #144

Open
Anarchick opened this issue Sep 29, 2019 · 2 comments
Open

Conflict with ThatPacketAddon on 1.14.4 (Paper and spigot) #144

Anarchick opened this issue Sep 29, 2019 · 2 comments

Comments

@Anarchick
Copy link

Anarchick commented Sep 29, 2019

TlatoaniHJ/ThatPacketAddon#2

*Tested on spigot and Paper 1.14.4 latest versions
ProtocolLib for 1.14.4
New fresh server with only Skript_2.4-beta7, ThatPacketAddon-1.0-BETA.3 , ProtocolLib#16 , skript-mirror-1.0.0 (also tested with 0.19.1)

Zero modifications of any config file

Only 1 script .sk :
`import:
java.util.Calendar

on packet event play_server_chat with high priority:
send "High!!!!" to console`

Both Skript-mirror and ThatPacketAddon works, but not together :

exemple of error ("The Current node:" does not show where is the problem) :
https://pastebin.com/310UMw5M

@btk5h
Copy link
Owner

btk5h commented Sep 29, 2019

Hey, can you also test this with 2.0.0?

@Anarchick
Copy link
Author

Anarchick commented Sep 30, 2019

seems to work with 2.0.0 SNAPSHOT from https://skripttools.net/addons?q=mirror (hard to found your 2.0.0 !!!) BUT with v1.0.0 or 0.19.1 the following code broadcast the right number, andt with 2.0.0 it broadcast the wrong (broadcast the year and not day of week)

import:
    java.util.Calendar

on load:
    set {_calendar} to Calendar.getInstance()
    broadcast "<green>%{_calendar}.get(Calendar.DAY_OF_WEEK!)%"

EDIT: you removed the "!" from ENUM, code work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants