Skip to content

Commit 0cebcf6

Browse files
committed
fix: pattern property in Totem
1 parent 10c19aa commit 0cebcf6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "wavy-totem-lib"
3-
version = "2.1.1"
3+
version = "2.1.2"
44
description = "A library for generating the texture of Minecraft's Totem of Undying"
55
authors = ["WavyCat <me@wavycat.ru>"]
66
readme = "README.md"

wavy_totem_lib/totem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def __init__(self, image: Image.Image, pattern: Type[Abstract], slim: bool, top_
2222
rounded_head: bool):
2323
self.image = image
2424
self.slim = slim
25-
self.style = pattern
25+
self.pattern = pattern
2626
self.rounded_head = rounded_head
2727
self.top_layers = top_layers
2828

0 commit comments

Comments
 (0)