SplotyCode

Results 17 comments of SplotyCode

Duplicate of https://github.com/ViaVersion/ViaBackwards/issues/510

Duplicate of https://github.com/ViaVersion/ViaBackwards/issues/510

You can use setProperty on `com.github.juliarn.npc.profile.Profile` Like this: `profile.setProperty(new Profile.Property("textures", texture, signature));`. I believe you are forced to use a npc pool

I believe this is known and delayed https://github.com/PaperMC/Folia/blob/master/regiontodo.txt#L27

Do we already have type inference over variables? it seems it also does not work for count ```php /** @param array $arr */ function a(array $arr): void { $count =...

The code is super hardcoded. I wonder if we just save in the scope that `$index < count($array)` we could remove inferForLoopExpressions and potentialy also fix https://github.com/phpstan/phpstan/issues/13770. But even then...

There seems to be a regression ``` $var = null; if ($index < count($array) { $var = 2; } if ($index < count($array) { /* phpstan does not recognize that...