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

JSBridge: Clash between java.util.Timer and arc.util.Timer #89

Open
SMOLKEYS opened this issue Jan 5, 2023 · 0 comments
Open

JSBridge: Clash between java.util.Timer and arc.util.Timer #89

SMOLKEYS opened this issue Jan 5, 2023 · 0 comments

Comments

@SMOLKEYS
Copy link
Contributor

SMOLKEYS commented Jan 5, 2023

Mindustry Version: 140.4

Project Unity Build: https://github.com/AvantTeam/ProjectUnityPublic/actions/runs/3704705557

Issue: JSBridge causes arc.util.Timer to clash with java.util.Timer, throwing an error and referencing the wrong class.

First Timer reference call: Throws an ambiguous import error, then makes all future Timer reference calls refer to java.util.Timer instead. This breaks every single console-runnable script that uses arc.util.Timer.

First Timer reference call with a mod enabled that references arc.util.Timer: Returns the intended class: arc.util.Timer.

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

1 participant