Carpet

Carpet

2M Downloads

CarpetServer's `rand` field is unused

altrisi opened this issue ยท 1 comments

commented

CarpetServer has a public static final field holding a Random instance. However that random is never used in Carpet code.

Suggestion to check possible usages outside of Carpet itself and, if unused, remove it.

commented

Investigation results:

  • Carpet extra uses it for autoCraftingDropper not anymore
  • Many extensions use it for carefulBreak
    • They all use copies of the exact code and therefore all depend on it. Many of them are severely outdated, not all though