Recent content by Xmark

  • After careful consideration and due to limited usage, we’ve made the decision to discontinue the PaperMC forums. Moving forward, we recommend using Hangar for plugin uploads, and for all other community discussions and support, please join us on Discord.
  1. X

    Question World#setGameRule

    Goal: set given world's gamerule from a gamerule string (e.g. "doInsomnia") Problem: return type of GameRule#getByName() World#setGameRule() requires GameRule<T> as its rule parameter, but GameRule#getByName() provides GameRule<?> the following code works, but the compiler complains: String...