Solved 1.17 Slime with negative size not working anymore

Discussion in 'Spigot Plugin Development' started by LoneDev, Jun 16, 2021.

Thread Status:
Not open for further replies.
  1. LoneDev

    Supporter

    Hello!
    Does anyone have a solution?
    Seems slime with negative size cannot be spawned anymore (I'm using Spigot API to set the size not NMS).

    Thanks.


    EDIT:
    found the issue.
    In Slime.class there is a check for min size:
    Code (Text):
     public void setSize(int i, boolean flag) {
            int j = Mth.clamp(i, 1, 127);// 9
    I have to use NMS to achieve this.
     
    #1 LoneDev, Jun 16, 2021
    Last edited: Jun 16, 2021
    • Like Like x 1
Thread Status:
Not open for further replies.