Fixed typo in README

This commit is contained in:
Stijn Bannink 2023-08-10 19:32:12 +02:00 committed by GitHub
parent c390ebbd5e
commit a5acef0666
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,13 +50,13 @@ controller.showInHand(p, true);
It's also possible to split one image onto multiple itemframes. For example using the following code.
```java
BufferedImage leftTopFrame = ...;
BufferedImage leftBottomFrame = ...;
BufferedImage rightTopFrame = ...;
BufferedImage rightBottomFrame = ...;
BufferedImage leftTopImg = ...;
BufferedImage leftBottomImg = ...;
BufferedImage rightTopImg = ...;
BufferedImage rightBottomImg = ...;
BufferedImage[][] images = {
{leftBottomFrame, leftTopFrame},
{rightBottomFrame, rightTopFrame}
{leftBottomImg, leftTopImg},
{rightBottomImg, rightTopImg}
};
//--- Wrap image ---