Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 132
    • Issues 132
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #321

Closed
Open
Created Feb 10, 2021 by Aikovdp@Aikovdp

WorldTimeCondition throws ClassCastException

Summary

Worldtime conditions cause errors to be spammed in the console.

Steps to reproduce

  1. Create a mob with a worldtime condition, like this:
RandomWorldTimeTest:
  Type: Testers
  Worlds: world
  Chance: 1
  Priority: 1
  PositionType: LAND
  Action: ADD
  Conditions:
  - worldtime{t=2000to10000} true
  1. Keep an eye on the console and see the errors

Current behavior

The console gets spammed with errors about the worldtime condition: https://pastebin.com/zr8eumrA

Intended correct behavior

There shouldn't be any errors being thrown about it, since the configuration is correct.

Server log file

https://pastebin.com/xAxjeSUP

Debug log snippet

https://pastebin.com/YyHKiyT0

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking