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

Procedure blocks using PlayerEntity don't work #23

Closed
U1timateJ7 opened this issue Aug 17, 2020 · 5 comments
Closed

Procedure blocks using PlayerEntity don't work #23

U1timateJ7 opened this issue Aug 17, 2020 · 5 comments
Labels
bug Something isn't working Fixed Major Major issues

Comments

@U1timateJ7
Copy link

Console:
Executing
Gradle task: build

Build
info: MCreator 2020.4.32115, spigot-1.16.2, 64-bit, 6028 MB, Windows 10,
JVM 1.8.0_252, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk

Task :compileJava FAILED

C:\Users\ultim\MCreatorWorkspaces\ulto_plugin\src\main\java\com\ulto\plugin\procedures\WorkbenchProcedure.java:7:
error: cannot find symbol

     player.openWorkbench(player.getLocation(), true);


                          ^


 symbol:   variable player


 location: class WorkbenchProcedure

C:\Users\ultim\MCreatorWorkspaces\ulto_plugin\src\main\java\com\ulto\plugin\procedures\WorkbenchProcedure.java:7:
error: cannot find symbol

     player.openWorkbench(player.getLocation(), true);


     ^


 symbol:   variable player


 location: class WorkbenchProcedure

2
errors

FAILURE:
Build failed with an exception.

  • What went wrong:

Execution
failed for task ':compileJava'.

Compilation failed; see the compiler error output for details.
  • Try:

Run
with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output. Run with --scan to get full
insights.

BUILD
FAILED in 391ms

1
actionable task: 1 executed

BUILD
FAILED

Task
completed in 3074 milliseconds

an example workspace

@Goldorion
Copy link
Owner

Can you give me a test workspace please?

@Goldorion Goldorion added bug Something isn't working Need testing labels Aug 17, 2020
@U1timateJ7
Copy link
Author

sure
example.zip

@Goldorion
Copy link
Owner

Thank you, I will check as soon as possible.

@Goldorion Goldorion added Major Major issues and removed Need testing labels Aug 27, 2020
@Goldorion Goldorion changed the title Open workbench at players location procedure block doesn't compile Procedure blocks using PlayerEntity don't work Aug 27, 2020
@Goldorion
Copy link
Owner

I found the cause and I will fix it as soon as I have some time. I removed something, I used in some entity procedure blocks, that was generated when an entity dependy was used, but I forgot to update procedure blocks.

@AnnikenYT
Copy link

Has this been fixed yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Fixed Major Major issues
Projects
None yet
Development

No branches or pull requests

3 participants